Zlib decompression is not working on 64 bit configuration
I am using Zlib1.dll ver 1.2.3.0 for compression and decompression of an image. Everything is working fine with 32-bit build configuration. But when I try to compress the data with 32-bit and decompress it with 64-bit on the other side I always getting the Z_DATA_ERROR(-3). But by using .NET framework above 3.5 (eg 4 or 4.5) the 64-bit decompression working fine.
3 Answers
Know the answer? Post it. Somebody with the same question will find it here.

Nilesh ShahRank #42 · 34.2K reputationPosted Dec 11, 2017, 4:04 AM EST
Jithin Jose49 reputationPosted Dec 11, 2017, 8:01 PM EST
Nilesh ShahRank #42 · 34.2K reputationPosted Dec 12, 2017, 3:43 AM EST