Hello Scott, thanks for helping out.....
>The parameter flagged above is wrong -- ZLibcompress2 takes an (unsigned >long*) but you are passing an (unsigned long) instead. The unnecessary cast >is actually masking the error. (There are several other unnecessary casts >in this code too.) Just pass &complen. You must pass the address of >complen since this is an in/out parameter. On input it tells zlib how big >the output buffer is, and on output it tells you how many bytes of output >there actually are. I have tried it. but the problem remains the same, it returns me the buffer error (-5) .Further I have checked the archives from this forum. I have found 2 or 3 messages that they are also having the same problem. Could you please do me favour, Please use the shared library of zlib and see wether it gives the buffer error on the Codewarrior 8. Or please give me the link of the project there they have actually used the compress2() function.... Thanks in advance. With Regards, Amit Kalekar [EMAIL PROTECTED] Kalpadrum Infotech Pvt.Ltd. www.kalpadrum.com www.pocketmysqladmin.com Connect your PDA to mysql database -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
