It works now. I changed my C++ code. Instead of using gzopen, gzwrite, and gzclose functions is zlib, I used compress2 in zlib and write the compressed data using fopen, fwrite, and fclose.
Thanks for all the help.
It works now. I changed my C++ code. Instead of using gzopen, gzwrite, and gzclose functions is zlib, I used compress2 in zlib and write the compressed data using fopen, fwrite, and fclose.
Thanks for all the help.