Boost logo

Boost Users :

From: calogero bennici (tbennici_at_[hidden])
Date: 2007-09-27 04:04:15


Hi,
 
I'm using boost 1.34.1 with msvc7.1
I' ve built boost with bjam.
 
Calogero

To: boost-users_at_lists.boost.orgFrom: ramey_at_rrsd.comDate: Wed, 26 Sep 2007 20:40:44 -0700Subject: Re: [Boost-users] problem with serialization library

it might be helpful to include boost version, compiler, os etc. Also informatoin as to how the applicaiton was built, makefile, ide, bjam, etc.
 
Robert Ramey

"calogero bennici" <tbennici_at_[hidden]> wrote in message news:BAY124-W35079DB870B8B09D0227FEDFB10_at_phx.gbl...Hi all,just to example, I tried to execute the code in the "simple example": // create and open a character archive for outputstd::ofstream ofs("genetic_parameters.txt");// create class instanceconst gps_position g(35, 59, 24.567f);// save data to archive{boost::archive::text_oarchive oa(ofs);// write class instance to archiveoa << g;// archive and stream closed when destructors are called}// ... some time later restore the class instance to its orginal stategps_position newg;{// create and open an archive for inputstd::ifstream ifs("filename", std::ios::binary);boost::archive::text_iarchive ia(ifs);// read class state from archiveia >> newg;// archive and stream closed when destructors are called} but at line oa << g;the program break in Kernell32.dll. Any suggestions? Regards,Calogero

Play Movie Mash-up and win BIG prizes!

_______________________________________________Boost-users mailing listBoost-users_at_[hidden]http://lists.boost.org/mailman/listinfo.cgi/boost-users
_________________________________________________________________
Get free emoticon packs and customisation from Windows Live.
http://www.pimpmylive.co.uk



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