Ok, I got it working now... of cource it was my fault ;-) I didn't register one of my classes from main application that was used only by class from plugin... I'm wondering if it would be possible to print class name in "unregistred class" exception? Icek wrote:
Actually, I study from latest documentation. I saw derived_dll.cpp and other example files, but there is a lot of examples and to me it looks like there is allways used different macro to export class info from plugin. I try compile latest boost and see if there is any difference...
Robert Ramey wrote:
Work has been done on just this topic and things have been updated since 1.40. The topic has been specifically addressed in the documention and samples and tests have been included for this situation. I would recommend that you look at the latest documentation and see if that explains things. You might want to upgrade to the latest package as well.
Robert Ramey
Icek wrote:
Hi, I'm using boost::serialization to store my data from my application. Everything is working nice, but I just can't store my class loaded from plugin. I know there is a lot of discussion here on this topic, I did read a lot of it. I also looked in /examples and /test directories but I still don't fully understand what exactly should I do... So I have abstract class i main application and derived class in plugin. As I understand it, all I have to do to make it work is:
1) #include
#include 2) use BOOST_CLASS_EXPORT macro in plugin_class.cpp
but I'm still getting unregistered class exception. Can someone help me please? I know I'm doing something wrong but I can't figure it out. I'm running Ubuntu Lucid with boost 1.40...
_______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users
-- View this message in context: http://old.nabble.com/Class-from-plugin-serialization-fails-tp28380080p28391... Sent from the Boost - Users mailing list archive at Nabble.com.