Hmm - its failing for me as well, but I can't see why. I'm testing with HEAD but still it fails. The exception thrown suggests a failure to register d2 as an exportable type - or to find the registration. I'm still looking at it. Robert Ramey Christian Henning wrote:
I changed to text archives and they are failing as well. BTW, I'm running VC2003 and boost 1.33.1. Is this sample program failing on your side, as well?
Thanks, Christian
On 10/23/06, Robert Ramey
wrote: Actually - the de-serialization fails.
I suspect this is due to he stream not being opened in binary mode - on both input and output. As a quick test - you can try a text stream. Investigate this.
Robert Ramey
Christian Henning wrote:
Hi Robert, thanks for the quick answer. I went for the second idea and made my base class abstract using a pure virtual member function. Unfortunately, now I'm catching an unknown exception when trying to deserialize.
_______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users