From: Boo Hiss <boohiss@fa...> - 2002-05-16 05:02:55
I am having crazy trouble trying to figure out zlib.
First off, the example source code for generating pkzip compatible files seems to compile and work fine, but I tried modifying it and compiling (using libz.a) and I get about 30 screens full of errors. All I did was change main into a funtion and call the function from a new main.
All I really want to do is to be able to just compress a single file into a pkzip compatible zip file. Perhaps I am just too dense to figure this out, but if someone posted a simple source code or pointed me towards a website somewhere showing how to accomplish this (and what compiler options / #includes I need as well) I would be very appreciative.
Thanks in advance
http://fastmail.ca/ - Fast Secure Web Email for Canadians