Boost logo

Boost Users :

From: Benjamin Sobotta (mayday_at_[hidden])
Date: 2008-07-21 16:50:25


On Wednesday 16 July 2008 19:46:39 Mathieu Peyréga wrote:
> Hello,
>
> I'm wondering if a binary archive generated on a 32 bits platform would
> be readable on a 64 bits one...
> My guess is no... because i am facing an issue i strongly suspect to
> come from there...
>
> Any clues ?
>
> I got a basic_string::resize exception evene before trying to call the
> serialize method...
> just doing :
>
> std::ifstream fichier(filename.c_str(),std::ios::binary);
> boost::archive::binary_iarchive archive(fichier);
>
> the second line causes the exception...
>
>
> Regards,
>
> Mathieu
> --
> http://www.incub.net/

Hi!

Yes, I had exactly the same problem. I circumvented it by using text archives.
Of course, these are bigger in size but I needed the compatibility.

Benjamin


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