<DIV>I can run such codes in console under Windows, but when I put them into a MFC Doc/View project, it does work. </DIV>
<DIV> typedef itk::RGBPixel< unsigned char > PixelType;<BR> typedef itk::Image< PixelType, 2 > ImageType;<BR> typedef itk::ImageFileReader< ImageType > ReaderType;</DIV>
<DIV> ReaderType::Pointer reader = ReaderType::New();<BR> reader->SetFileName("c:\\lena_std.jpg");//argv[1] );<BR> reader->Update();</DIV>
<DIV> </DIV>
<DIV>The error is "Abnormal in 0x7c81eb33 : Microsoft C++ exception: __non_rtti_object @ 0x0012f3a0"</DIV>
<DIV> </DIV>
<DIV>Can anyone help me with this?</DIV><p><br><hr size=1><b>Do You Yahoo!?</b><br>
<a href="http://music.yisou.com" target=blank>150万曲MP3疯狂搜,带您闯入音乐殿堂</a><br><a href="http://image.yisou.com" target=blank>美女明星应有尽有,搜遍美图、艳图和酷图</a><br>
<a href="http://cn.rd.yahoo.com/mail_cn/tag/1g/*http://cn.mail.yahoo.com/event/mail_1g/" target=blank>1G就是1000兆,雅虎电邮自助扩容!</a>