Boost logo

Boost Users :

From: Mark Wyszomierski (markww_at_[hidden])
Date: 2007-01-12 15:01:51


Levent,

I'm sorry, I edited my file incorrectly. It works perfectly after your
update. Thanks for the help,

Mark

On 1/12/07, Server Levent Yilmaz <leventyilmaz_at_[hidden]> wrote:
>
>
> On 1/12/07, Mark Wyszomierski <markww_at_[hidden]> wrote:
> > Hi Levent,
> >
> > Thanks for the quick reply. I see what you mean. Anytime I open up a
> > stream I now pass the ios_base::binary flag to the stream constructor.
> > Still the same runtime error though. All I had to do to my example was
> > the following, right?:
> >
> > std::ofstream ofs("filename", ios_base::binary);
>
> yes, and with this fix your code works fine with my VC++ 7.1. (and without
> it it throws stream error as expected)
>
> One thing, do you get any compiler warnings related to RTTI? In 7.1 you
> need to turn it on (/GR switch) for serialization library to work. Then
> again, it should fail during output if this was the case.
>
> What exactly is the runtime error you're getting? Do you have any
> compilation warnings?
>
>
>
> --
>
> Server Levent Yilmaz
> Mechanical Engineering @ PITT
> _______________________________________________
> Boost-users mailing list
> Boost-users_at_[hidden]
> http://lists.boost.org/mailman/listinfo.cgi/boost-users
>
>


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