|
Boost Users : |
From: eg (egoots_at_[hidden])
Date: 2007-09-28 20:51:44
JD wrote:
>
> I tried without the new_file_size, I tried with a mapped_file... Is
> there something I don't get? Why are we not able to open a file that
> already exist?
>
Oops... I mistakenly sent a reply to devel instead of boost-users...
here it is again.
I assume you have mapped_file.cpp in your project already (otherwise I
don't think you could link).
Upon quick inspection, your example seems to mimic some of the test code
almost identically (i.e. in mapped_file_test.cpp), so I think it should
work...
What happens when you try to run the unit tests in the
boost_1_34_1\libs\iostreams\test subdirectory of the source tarball?
Do they pass?
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