hai

   In my application i am trying to use ZLib Shraed Library for data
compression.here got one problemproblem while using deflateInit function.


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


sample code is

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

                        error = deflateInit(&zs,Z_DEFAULT_COMPRESSION); 

             any one help me to solve above error and 

             is there any application developed using ZLib. if it is there
please tell me about that application.


bye
               


              


                 
                         




____________________________________________________________________
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