Boost Users :
From: Juan Quiroz (juancq_at_[hidden])
Date: 2006-05-01 22:29:06
Thank you so much!! I moved the register calls just after the archive is
created and it worked! Thanks again!! You have literally saved me hours of
work!! Thanks for the prompt responses!
On 5/1/06, Robert Ramey <ramey_at_[hidden]> wrote:
> I use the vector "children" to hold pointers to both base and derived
> objects. I have tried registering the derived classes at the top of the
> serialize function call, with the use of
> That is probably the wrong place to put it. should be in a place that
> guarentees that it will be called. Try it just after the archive is
> If that does it, you can experiment with moving it around.
> I have also tried using the
> BOOST_CLASS_EXPORT_GUID macro to register the classes in main. Yet, I
> get a unregistered class exception. Any guidance would be greatly
> Note that its not enough to include BOOST_CLASS_EXPORT. It has to
> be included after the *archive.hpp classes that you're using. Double
> that this is the case.
> Robert Ramey
> Boost-users mailing list
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