if you try to save a number which exceeds 2^32 on a 64 bit machine then try to load on a 32 bit machine - the archive will through an exception as there is no way to represent such a number on a 32 bit machine. Other than that, they should interoperate. Rober Ramey Sangeeta Singh wrote:
Hi,
Thanks for the pointer. Is the string serialization for 64 bit and 32 bit library different as the string being serialized using 64bit version can not be read using 32 bit version.
Thanks, Sangeeta
Message: 1 Date: Thu, 21 Aug 2008 13:10:26 -0800 From: "Robert Ramey"
Subject: Re: [Boost-users] Boost serialization.. To: boost-users@lists.boost.org Message-ID: Content-Type: text/plain; charset="iso-8859-1" THe library includes a portable_binary archive as a demo. There are also other versions of this in boost downloads.
Robert Ramey "Sangeeta Singh"
wrote in message news:228C81146E16054AA04E582D4B8C34CD96C888@SNV-EXVS08.ds.corp.yahoo.com ... Hi, I have following requirement
Application doing the object serialization (binary stream with char trait) uses 64 bit boost serialization version
Application deserializing the object uses 32 bit boost serialization version
Both are incompatible.
Is there a boost serialization library available that works for both 64 and 32 bit m/c or is there any other way that I can achieve this.
Thanks,
Sangeeta