|
Boost Users : |
From: Jeff F (TriumphSprint2000_at_[hidden])
Date: 2006-10-24 11:43:28
"Christian Rössel" <christian.roessel_at_[hidden]> wrote in message
news:ehkl7n$ur2$1_at_sea.gmane.org...
> Christian Henning schrieb:
>> Hi Robert, thanks for the quick answer. I went for the second idea and
...
>> BOOST_CLASS_EXPORT( derived1 );
>> BOOST_CLASS_EXPORT( derived2 );
>
> Hi Christian,
>
> it should work if you change BOOST_CLASS_EXPORT to BOOST_CLASS_EXPORT_GUID
> like this:
>
> #include <boost/serialization/export.hpp>
> ...
> BOOST_CLASS_EXPORT_GUID(derived1, "derived1")
> BOOST_CLASS_EXPORT_GUID(derived2, "derived2")
Hmm, shouldn't base be exported as well?
Jeff
Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net