[Insight-users] Problems trying to update ImageFileReader II: problem identified

Luis Ibanez luis.ibanez at kitware.com
Thu May 11 10:20:58 EDT 2006


Hi Fran,

Can you please compile the program for Debug,
then run it in the debugger and post to the list
the trace of callbacks that lead to the crash ?

You probably have a problem with pointers.
(e.g. memory allocation, or uninitialized pointers).



   Thanks


      Luis


======================
Fran Vázquez wrote:
>  
> Hi Luis.
>  
> Thank you for your help.
>  
> We have problems with scape sequences when typing the path manually. But 
> when using a dialog I have no problems with them at all. Our application 
> reads the full path of an image file from a .txt file and gives it to 
> the SetFileName method of the reader. In this way, we don't have any 
> problems with scape sequences.
>  
> If the file doesn't exist, it throw an exception: /"The file doesn't 
> exist. D:\personal\fvazquez\imagenes\10.jpg"./ OK, that's right.
>  
> The problem is when the file exists and the path is correct. Then there 
> is no exception thrown by the ITK object, but a RunTime error /"This 
> aplication has requested the Runtime to terminate it in an unusual 
> way...". /
>  
> I think it has nothing to do with the code, but a problem with the 
> project configuration.
>  
> Thank you anyway.
>  
> Bye!
>  
>  




More information about the Insight-users mailing list