<br><br><div><span class="gmail_quote">On 2/5/07, <b class="gmail_sendername">tony hakki</b> <<a href="mailto:tony2007vtk@yahoo.com">tony2007vtk@yahoo.com</a>> wrote:</span><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div><div style="font-family: times new roman,new york,times,serif; font-size: 12pt;"><div>I need really urgent help, here is my code about pointset to image registration. I comleted ,it seems that everything ok,but when run it i gives
<em>break</em> or <em>continue</em> error.<br> </div></div></div></blockquote><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div><div style="font-family: times new roman,new york,times,serif; font-size: 12pt;">
<div>The reason of</div><div><font size="2"><p style="margin: 0cm 0cm 0pt;"><span lang="EN-GB"><font size="3"><font color="#ff0000">Unhandled exception at 0x7c812a5b in nfinity.exe: Microsoft C++ exception: itk::ExceptionObject at memory location 0x0012ea7c..
</font></font></span></p></font></div></div></div></blockquote><div><br><br>Please enclose the offending line in a try catch block , so you can catch the itk exceptions being thrown and print them to std::cerr. Something like...
<br> try<br> {<br> registration->StartRegistration();<br> }<br> catch( itk::ExceptionObject & err )<br> {<br> std::cerr << "ExceptionObject caught !" << std::endl;<br> std::cerr << err << std::endl;
<br> return EXIT_FAILURE;<br> } <br><br>HTH<br></div></div>-- <br>Karthik Krishnan<br>R&D Engineer,<br>Kitware Inc.