Oops, forgot to attach the file... :-)

G.



On 9/3/06, Graeme Geldenhuys <[EMAIL PROTECTED]> wrote:
Hi Alexandre,

Included is a zLib.zip.remove (actual zip file, just renamed) file
that contains a wrapper for zlib (included with FPC) to make it's
usage much easier.  I also included some units to show how it is used
in tiOPF and some Unit Tests for it.

This is all part of tiOPF and is well used and tested.  Full source is
available on SourceForge (tiopf project).  It packs and unpacks gzip
files.  Not sure if the OpenOffices files are zip or gzip.

Regards,
  - Graeme -



On 9/3/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> > 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
>


--
There's no place like 127.0.0.1



--
There's no place like 127.0.0.1

Attachment: zLib.zip.remove
Description: Binary data

Reply via email to