hai

   In my application i am trying to use ZLib Shraed Library for data
compression.here got one problem while using deflateInit  and inflateInit
functions.


    "just written directly to memory location 0(NULL)"


sample code is

                       z_stream zs;
                       memset(&zs, 0, sizeof(zs));
                         ZLSetup;
                         
                         
                           zs.zalloc = (alloc_func)0;
                        zs.zfree = (free_func)0;
                        zs.opaque = (voidpf)0;

        error = deflateInit(&zs,Z_DEFAULT_COMPRESSION); 

         I need help for solving above problem and where I went to wrong.

thnks

Badari



____________________________________________________________________
Get free email and a permanent address at http://www.netaddress.com/?N=1

--
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/tech/support/forums/

Reply via email to