> 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/

Reply via email to