[Insight-users] Runtime exception error in ImageFileReader class with bcc55

Julien Jomier jjomier at cs.unc.edu
Wed Dec 8 11:13:56 EST 2004


Hi Nic,

The ImageReadWrite example works fine with BCC55 for me.
What type of images are you trying to read?
Can you try to read the file ramp.gipl in the Insight/Testing directory 
and save as .mha:

 >ImageReadWrite Insight\Testing\Data\Input\ramp.gipl test.mha

Let us know if this works,

Julien

Nicolaus Andratschke wrote:
> Hi,
> 
> strange enough I get exception errors when running
> programs that use the ImageFileReader class (ITK 1.8,
> BCC55). 
> As soon as I try to access an ImageFileReader object
> (in this case reading in a file) either with the
> member function 'Update' or 'GetOutput' (e.g. the
> example ImageReadWrite.cxx provided in the Insight
> source tree) an exception is raised in a dialog box. I
> do not get any further error message specifying the
> problem. By inserting hand coded error messages, I
> know that the exception is raised in the above
> mentioned member function. 
> Has anybody encountered a similar problem with bcc55
> (vc6 works fine)? Any idea how I could get a better,
> i.e. more specific error message?
> 
> Thanks,
> 
> NIC
> 
> 
> 
> 
> 		
> __________________________________ 
> Do you Yahoo!? 
> The all-new My Yahoo! - What will yours do?
> http://my.yahoo.com 
> _______________________________________________
> Insight-users mailing list
> Insight-users at itk.org
> http://www.itk.org/mailman/listinfo/insight-users
> 
> 


More information about the Insight-users mailing list