I am trying to use Zlib, to uncompress a file on an expansion card. Eventually I will have to use streams, but in the meantime I am testing with a small file, using the ZLibuncompress. I have tried both the ARMlet and the 68K versions, and in both cases it returns Z_BUF_ERROR.
This does not make much sense. Yes, I know that the output bufffer length is an inout prameter, and I have checked that I am setting it correctly. Has anyone got this function to work? Most people will have to use streams anyway, so I am wondering whether anyone has tested it. The file is compressed using gzip with the -n parameter, and I strip off the first 10 and last 8 bytes when reading the file, to obtain my input buffer. I use the size in the trailer to determine the size of the output buffer. This seems to be correct. -- For information on using the ACCESS Developer Forums, or to unsubscribe, please see http://www.access-company.com/developers/forums/
