Sorry, I noticed that I don't have replied to the list. You can find my 
original message again below...







Hi Brad,



actually, I have looked into the mechanism of ITK and think I have understood 
it. I have also found the static initialization routine.



Nevertheless (see my original e-mail), LoadDynamicFactories is not called in 
the current version, neither in static initialization, nor in CreateInstance.



In the meantime, I have added the LoadDynamicFactories() call as the last line 
in InitializeFactoryList() (this part of the function is executed if there is 
not yet a list, so it is only called once), and now the mechanism works as 
expected and my .dll loads. This might be a wrong location for this kind of fix 
though. If you have a better suggestion in mind, please let me know.



                Fabian




________________________________
The information contained in this message may be confidential and legally 
protected under applicable law. The message is intended solely for the 
addressee(s). If you are not the intended recipient, you are hereby notified 
that any use, forwarding, dissemination, or reproduction of this message is 
strictly prohibited and may be unlawful. If you are not the intended recipient, 
please contact the sender by return e-mail and destroy all copies of the 
original message.
_______________________________________________
Powered by www.kitware.com

Visit other Kitware open-source projects at
http://www.kitware.com/opensource/opensource.html

Kitware offers ITK Training Courses, for more information visit:
http://kitware.com/products/protraining.php

Please keep messages on-topic and check the ITK FAQ at:
http://www.itk.org/Wiki/ITK_FAQ

Follow this link to subscribe/unsubscribe:
http://www.itk.org/mailman/listinfo/insight-developers

Reply via email to