by cryo » Nov 27, 2002 @ 6:35pm
i was trying to store compressed (i.e. gzipped) files as resources, get a pointer to them at run time and decompress using zlib, but i get different errors.
I'm using the inflateInit2, inflate and inflateEnd functions as described in the examples. Also, i am giving inflateInit2 a -15 as second parameter to skip the .gz headers and go straight to the deflated data.
The problem is, none of this works. Has anyone done something like this before?
thanks
cryo