On Fri, Jan 30, 2009 at 11:13 PM, Ralf W. Grosse-Kunstleve <r...@yahoo.com> wrote: >> This apparently works fine when running in same module but if I create a >> class > >> derived from Base in another module (another library), this stop >> working because the dynamic_cast fails. > > Simple idea: is the other module imported before the dynamic_cast is executed? > That's probably important. > (Not sure that's it; I hardly ever work with virtual functions.)
The second module is linked against the first one, so I think that the linker should load all shared libraries before any python::boost code get executed. > Ralf > _______________________________________________ > Cplusplus-sig mailing list > Cplusplus-sig@python.org > http://mail.python.org/mailman/listinfo/cplusplus-sig > _______________________________________________ Cplusplus-sig mailing list Cplusplus-sig@python.org http://mail.python.org/mailman/listinfo/cplusplus-sig