The one I'm referring to is in libs/serialization/example in both the trunk and next release Robert Ramey Mathieu Peyréga wrote:
Hello,
where do you find this last version of the portable binary archive ? is it this binary archive in the SVN trunk (i don't think so as it it the one i'm using unsuccessfully...)
is it the one found at this link :
?
Regards,
Mathieu
Robert Ramey a écrit :
The most recent version of the portable binary archive supports this.
Note however, that if you write an integer greater than 32 bits to the archive, the and try to read it on a 32 bit machine, it will throw an exception.
Robert Ramey
Benjamin Sobotta wrote:
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 mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users