Hello Fabian, In your initial email it was not clear to me that you were reporting bug or a change in behavior.
I have created a patch to fix the bug and pushed it to gerrit: http://review.source.kitware.com/#/c/8102/ It would be great if you were able to download and test the patch to verify that it addresses your issue. You can find more information on how to do this from a recent ITKBarCamp: http://insightsoftwareconsortium.github.com/ITKBarCamp-doc/CommunitySoftwareProcess/PerformAGerritReview/index.html Brad On Oct 23, 2012, at 7:11 PM, "Wenzel, Fabian" <[email protected]> wrote: > 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
_______________________________________________ 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
