"Andrei Popa" wrote in message
news:COL101-W28C447648F681AC70FA790E06E0@phx.gbl...
Hi there,
I have a dll that contain an abstract base class called DbObject and a
DbDatabase class that contains a collection of shared_ptr<DbObject> .
It dose work as long all derived classes are defined in the same dll.
*** OK so far.
With a class derived from DbObject and defined/implemented in my EXE (that
use the DLL) I got archive_exception::unregistered_class.
I tried to register it or to export it, but I could not make it work.
*** So you put BOOST_CLASS_EXPORT(DbObject) in to a *.cpp file
which is compiled as part of the exe?
Any Ideas?
I use Version 1.38 of the library & VC8(2005).
When I use BOOST_CLASS_TYPE_INFO(as in test_no_rtti.cpp sample ) for my EXE
resident class, the ::get_key is never called.
// get the eti record for the exported type "polymorphic_derived2"
boost::serialization::extended_type_info const * const d2_eti =
boost::serialization::extended_type_info::find(
"polymorphic_derived2"
);
works too before I start to serialize the collection.
*** is this an attempt the issure raised above or is this a separate
question.
Robert Ramey
Thanks,
Andrei
See all the ways you can stay connected to friends and family
_______________________________________________
Boost-users mailing list
Boost-users@lists.boost.org
http://lists.boost.org/mailman/listinfo.cgi/boost-users