ZLIB uncompress
问题 I've coded a small application that should uncompress data encoded in the gzip/deflate format. In order to accomplish this,I'm using the ZLIB library, using the uncompress function. The problem is that the function doesn't work! In orher words, data is not uncompressed! I post here the code: int (*decompress)(PBYTE,PULONG,PBYTE,ULONG); void DecodeData(PBYTE data,ULONG dataSize){ LoadLibrary("C:\\zlib1.dll"); decompress=(int(*)(PBYTE,PULONG,PBYTE,ULONG))GetProcAddress( GetModuleHandle("zlib1