Hi Gerald,

On 07/02/2010 09:27 AM, Lodron, Gerald wrote:

>
> The debugger failed on the mitk::PicFileReader::New(); statement in line
> 74 of itkSmartPointer.h. When i jump into the New() method in debug mode
> i can see that the line
>
> LightObject::Pointer ret =
> ObjectFactory::CreateInstance(typeid(T).name()); in itkObjectFactory.h
> (Create() function) returns a null pointer.

This is ok. The factory returns a null pointer if no overloaded class is 
registered (the normal case) . The object is then created with a regular 
new operator in the New() method defined in the itkNewMacro in itkMacro.h

>
> Any ideas, i am at the end of my voodo
>
Could you debug Step1? Does it work?

Best regards

Marco

------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
_______________________________________________
mitk-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mitk-users

Reply via email to