Boost logo

Boost Users :

From: christophe loustaunau (christophe.loustaunau_at_[hidden])
Date: 2008-02-20 05:27:28


Hello,

I try to use serialization of boost. I have started with the exemple of bus
stop in XML : http://www.boost.org/libs/serialization/example/demo_xml.cpp

I have added to this example a map of 1000 bus_schedule. Then I save this
map in a file.
And I relaod this file in a new map.
This works perfectly in XML, but if I try : binary_iarchive I got an
boost::archive::archive_exception at memory location 0x00dfdb40..

I don't understand why It woks in XML and not in binary.
I have attached to the mail the source file.

If someone could help me It would be great !

Thanks.

-- 
Christophe Loustaunau.






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