21 Jul
2008
21 Jul
'08
8:50 p.m.
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