> 2006/9/2, [EMAIL PROTECTED] <[EMAIL PROTECTED]>:
>> Both come standard with FPC: in fcl/xml and packages/extra/unzip.
>
> Ok, I got unzip; but is zlib the 'zip' version? (It is nice to
> uncompress, but it is also required to compress it back :) )

No. ZLib just implements the gzip algorithm (deflate), this is
one of the algorithms used in zip files. But it does not create
a correctly formatted zip file.

The zipper unit in the 2.1.1 FCL sources does the zipping for you.
It contains a TZipper class. It can create new zip files, not manipulate
existing files. It's beta quality, but it creates correct zip files.

Michael.

_________________________________________________________________
     To unsubscribe: mail [EMAIL PROTECTED] with
                "unsubscribe" as the Subject
   archives at http://www.lazarus.freepascal.org/mailarchives

Reply via email to