Re: howto create a zip programmatically
From: Barry S. Kyker (bskyker_at_bellsouth.net)
Date: 05/27/04
- Next message: lallous: "Re: Equivalent of INT13/AH=08 in WinNT"
- Previous message: Guogang: "Re: Reboot Windows XP without interactive login"
- In reply to: Norm Dresner: "Re: howto create a zip programmatically"
- Next in thread: Paweł Pawlak: "Re: howto create a zip programmatically"
- Reply: Paweł Pawlak: "Re: howto create a zip programmatically"
- Messages sorted by: [ date ] [ thread ]
Date: Wed, 26 May 2004 23:59:28 -0400
"Norm Dresner" <ndrez@att.net> wrote in message
news:7i4tc.71755$hH.1296503@bgtnsc04-news.ops.worldnet.att.net...
> "Alex" <AlX@a> wrote in message
> news:OImifA0QEHA.3660@TK2MSFTNGP10.phx.gbl...
> >
> > It's just that i'm not aware if gzip is compatible with WinZip, or if
gzip
> > files are the same as Zip files.
> > zlib can create standard gzip files, so, if gzip files are compatible
with
> > WinZip then so will be the files created with zlib.
> >
> > What library did you used?
>
> I used the ZLIB library. It's available from
> http://www.gzip.org/zlib/
>
> But be aware that it's just a compression scheme. It doesn't create
> archives that contain multiple files, you'll have to do that somehow
> yourself. But a single ZLIB-created file was perfectly readable by WinZip
> and vice versa.
>
> Norm
To use the ZLIB library to create PKZIP compatible archives, you will
need the ZIP header format from PKWARE's web site at
http://www.pkzip.com/products/enterprise/white_papers/appnote.html
With the ZIP header information and ZLIB source code you should be able
to develop a compression/decompression library. I have created such a
library
for my employer that is compatible with PKZIP and WinZIP. Unfortunatly I can
not send you the source code due to company policies, but I can help if
needed.
Best regards,
Barry S. Kyker
- Next message: lallous: "Re: Equivalent of INT13/AH=08 in WinNT"
- Previous message: Guogang: "Re: Reboot Windows XP without interactive login"
- In reply to: Norm Dresner: "Re: howto create a zip programmatically"
- Next in thread: Paweł Pawlak: "Re: howto create a zip programmatically"
- Reply: Paweł Pawlak: "Re: howto create a zip programmatically"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|