Hi Mohammed,<br><br>Thanks for letting us know that you found <br>the solution to the problem.<br><br>In the future, you may want to surround<br>the calls to "Update()" with a try/catch block.<br><br>See the IO Chapter of the ITK Software Guide <br>
for detailed instructions.<br><br>This usually helps to catch potential exceptions<br>and when printing out their error messages, <br>they help you trace the origin of the problem.<br><br><br> Regards,<br><br><br> Luis<br>
<br><br>------------------------------------------------<br><div class="gmail_quote">On Tue, Aug 24, 2010 at 4:09 AM, mohammed abdel samea <span dir="ltr"><<a href="mailto:mohammed_abdel_samea@yahoo.com">mohammed_abdel_samea@yahoo.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;"><div><div style="font-family: times new roman,new york,times,serif; font-size: 12pt;">Hi Luis,<br>
<br>I get the solution of this problem.<br>the problem is that I wrote filename as "c:\\asd.png". when I changed it to "asd.png" the programm work well.<div class="im"><br><br>Thanks..<br><div> </div>Mohammed M. Abdelsamea<br>
Assistant Lecturer of Computer Science<br>Mathematics& Computer Science Department<br>Faculty of Science-Assiut university<br>Assiut University-Assiut-Egypt<br>Tel. +20108581041 Postal Code: 71516<div><br></div></div>
<div style="font-family: times new roman,new york,times,serif; font-size: 12pt;"><br><div style="font-family: times new roman,new york,times,serif; font-size: 12pt;"><div class="im"><font face="Tahoma" size="2"><hr size="1">
<b><span style="font-weight: bold;">From:</span></b> Luis Ibanez <<a href="mailto:luis.ibanez@kitware.com" target="_blank">luis.ibanez@kitware.com</a>><br><b><span style="font-weight: bold;">To:</span></b> mohammed
abdel samea <<a href="mailto:mohammed_abdel_samea@yahoo.com" target="_blank">mohammed_abdel_samea@yahoo.com</a>><br><b><span style="font-weight: bold;">Cc:</span></b> <a href="mailto:insight-users@itk.org" target="_blank">insight-users@itk.org</a><br>
<b><span style="font-weight: bold;">Sent:</span></b> Tue, August 24, 2010 5:26:40 AM<br><b><span style="font-weight: bold;">Subject:</span></b> Re: [Insight-users] unknown error InsightToolkit-3.20.0 on Win7<br></font><br>
</div><div><div></div><div class="h5">
HI Mohammed,<br><br>Can you please build your application in Debug mode,<br>rerun it, and post back to the list, the lines of code in <br>which the application generates this error ?<br><br> Thanks<br><br> Luis<br>
<br><br>----------------------<br><div class="gmail_quote">On Mon, Aug 23, 2010 at 2:15 AM, mohammed abdel samea <span dir="ltr"><<a rel="nofollow" href="mailto:mohammed_abdel_samea@yahoo.com" target="_blank">mohammed_abdel_samea@yahoo.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;"><div><div style="font-family: times new roman,new york,times,serif; font-size: 12pt;">
<div style="font-family: times new roman,new york,times,serif; font-size: 12pt;">Hi all,<br><br>I'm currently using InsightToolkit-3.20.0, CMake 2.8.2, Visual studio 2008 professional SP1 on 64-bit operating system on windows 7.<br>
I can sucssecfully build my program without any error but I've got the following runtime error:<br><br>An unhandled exception of type 'System.Runtime.InteropServices.SEHException' occurred in ctsegmentation.dll<br>
Additional information: External component has thrown an exception.<br><br>I'm sure that there is no problem in my code because I implement this code properly but this error occured when I've tried to implement it on windows 7.<br>
<br>I'll be very glade if you can help me to solve this problem, I spent more time on it. your help is really appreciated..<br><br>Best Regards,<br> Thanks.<br></div></div><br>
</div><br>_____________________________________<br>
Powered by <a rel="nofollow" href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at<br><span>
<a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a></span><br>
<br>
Kitware offers ITK Training Courses, for more information visit:<br><span>
<a href="http://www.kitware.com/products/protraining.html" target="_blank">http://www.kitware.com/products/protraining.html</a></span><br>
<br>
Please keep messages on-topic and check the ITK FAQ at:<br><span>
<a href="http://www.itk.org/Wiki/ITK_FAQ" target="_blank">http://www.itk.org/Wiki/ITK_FAQ</a></span><br>
<br>
Follow this link to subscribe/unsubscribe:<br><span>
<a href="http://www.itk.org/mailman/listinfo/insight-users" target="_blank">http://www.itk.org/mailman/listinfo/insight-users</a></span><br>
<br></blockquote></div><br>
</div></div></div></div>
</div><br>
</div></blockquote></div><br>