Boost logo

Boost :

Subject: Re: [boost] boost::serialization, binary archive contents
From: Robert Ramey (ramey_at_[hidden])
Date: 2009-12-23 11:40:29


Dan wrote:
> Hi All,
>
> Im not sure if this the correct mailing list or not.. in fact im not
> sure
> if i'm even going about this the right way.. forums are so much
> easier..
>
> Im using the boost::serialization library, im attempting to serialize
> an image file from the freeimage library.
>
> It is working beautifully if i serialize to a text archive however,
> binary archives fail to load with a "stream error" exception.
>

Double check that the stream is opened with ios::binary

Robert Ramey


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk