2006/9/2, [EMAIL PROTECTED] <[EMAIL PROTECTED]>:
> 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.
I'm still using revision 3823 since my latest try a month ago is not
producing a stable FPC compiler that works with gdb; or was not able
to compile as for my last try.
So this might by why I can't see it, if this is a recent unit (rev
3823 is from may 2006 or june I believe.)
Thank you for the information, I'll have a look at that.
--
Alexandre Leclerc
_________________________________________________________________
To unsubscribe: mail [EMAIL PROTECTED] with
"unsubscribe" as the Subject
archives at http://www.lazarus.freepascal.org/mailarchives