18 Mar
2012
18 Mar
'12
2:22 p.m.
I would like to ask You what is the status of Boost.zlib on Windows. I have a program that uses Boost.iostreams to create a gzip file. It compiles both on Windows and Linux and on Linux it creates a functional gz file. On Windows it creates a gz file but when I try to decompress the file it gives me "data error".
Quick guess: How do you open a file? Do you open it as binary? If not you will get unexpected results under Windows :-) Artyom