<div dir="ltr"><div><div><br>Мар'ян,<br><br></div>A good deal of refactoring was done in the Factory registration <br>in the past two years (that's definitely after ITK 3.20).<br><br>It is worth giving it a try at ITK 4.5<br>
<br></div><div>It is quite likely that the problem you describe here is one that<br>was addressed with such refactoring.<br><br></div><div> HTH<br><br></div><div> Luis<br><br></div></div><div class="gmail_extra"><br>
<br><div class="gmail_quote">On Fri, Jan 17, 2014 at 5:50 AM, Мар'ян Климов <span dir="ltr"><<a href="mailto:nekto1989@gmail.com" target="_blank">nekto1989@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr"><div>Hi. <br></div>Currently using ITK 3.20. Everything is built in .lib, only ITKCommon is .dll. Program has plugins(dll). One of them uses ITKIO. During work it registers 15 factories in ITKCommon that has pointers to address space of this plugin. So calling itk::ObjectFactoryBase::UnRegisterAllFactories() after plugin is unloaded from memory causes crash because addresses to methods are not valid but they are still in list m_RegisteredFactories. Does ITK 4.5.0+ still has this problem or migrating will solve it?<br>
</div>
<br>_______________________________________________<br>
Community mailing list<br>
<a href="mailto:Community@itk.org">Community@itk.org</a><br>
<a href="http://public.kitware.com/cgi-bin/mailman/listinfo/community" target="_blank">http://public.kitware.com/cgi-bin/mailman/listinfo/community</a><br>
<br></blockquote></div><br></div>