Ok Justin I compress .PDB in another PDB in windows, then I create a new .PDB using PAR utility and send new .PDB to palm, but when call INFLATE database the palm stay in looping, so I must to reset my palmtop... After I reset I see header of my uncompressed database created, but without records... To create compress file in Windows I'am using zlib 1.1.4 example for delphi... Do you have any utility that I can try to zlib in windows??? do you have some idea about this???
Thank you very much F�bio "Justin Clark" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > > > If I compress a .PDB in Windows using ZLIB and rename the compressed file to > > .PDB and syncronize compreesed database in PALM I will get sucess do > > decompress with SYSZLIB??? > > You can't just rename a file to PDB, it has to be in the PDB format. If your > data is less than 64K compressed, the easiest is prolly to compress your file > then use par to create a PDB with your compressed data in a single record. If > you have more than 64K of compressed data, you might try either manually > splitting it up into <64K pieces, or making a file stream db and compressing it > using deflator on POSE. > > -Justin Clark > Copera, Inc. > [EMAIL PROTECTED] > > > Fabio dos Reis Costa wrote: > > Hi thank's for example > > > > Another question: > > > > If I compress a .PDB in Windows using ZLIB and rename the compressed file to > > .PDB and syncronize compreesed database in PALM I will get sucess do > > decompress with SYSZLIB??? > > > > If no, what is the best way to compress in windows, send to PALM and > > decompress in PALM??? > > > > Thank you > > > > Fabio > > "Justin Clark" <[EMAIL PROTECTED]> wrote in message > > news:[EMAIL PROTECTED] > > > >>Take a look at my sample app here: > >> > >>http://www.copera.com/deflater > >> > >>which uses SysZLib to compress/decompress databases. > >> > >>-Justin Clark > >>Copera, Inc. > >>[EMAIL PROTECTED] > >> > >> > >>Fabio dos Reis Costa wrote: > >> > >>>I need to compress a Database PDB in PALM, I have syszlib.prc and > > > > syszlib.h > > > >>>but I don't understand how to compress/decompress a .PDB using > > > > respective > > > >>>functions in syszlib library... > >>> > >>>Anybody could help me with any example to compress a PDB using > > > > syszlib??? > > > >>>I will be greatfull for any help > >>> > >>>Thank's very much > >>> > >> > > > > > > > -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
