FW: Need som ehelp in ZLIB
"Ponnolu, Reddy" <[email protected]> Tue, 18 Mar 2003 17:56:23 -0600
| Newsgroups | gmane.comp.video.gimp.windows.devel |
|---|---|
| Message-ID | <62E11BB33A4C034E8CF6A673FC005E0413AE29@USTXDFWH04.its.verizon.com> |
-----Original Message----- From: Ponnolu, Reddy Sent: Tuesday, March 18, 2003 5:53 PM To: '[email protected]' Subject: Need som ehelp in ZLIB Hi, I am using gzopen(), gzread() on windows for reading *.gz files. I have some issues with gzread. I downloaded zlib.dll from following location. http://www.winimage.com/zLibDll/zlib114dll.zip And I am using zlib for reading *.gz files. I am not getting the correct values. Following is scenario... I will receive *.gz files from unix box. I am opening those files using gzopen and reading thru gzread. But here I am not able to read complete file. Only few bytes I am getting. Following is my code #define FILEBUFSIZE 102400 filebuflen = gzread(infile,filebuf,FILEBUFSIZE); Here I am not getting 102400 bytes; I am getting less than 102400. But my file size is more than 102400 bytes. What could be the reason? I appreciate your help Thanks in Advance -Madhu [Non-text portions of this message have been removed]