ZipArchive library documentation
The ZipArchive library
Copyright © 2000 - 2006 Tadeusz Dracz
Version: 2.4.10
Date: 07 Apr 2006
This library adds zip compression and decompression functionality to your program, allowing you to create and modify ZIP files in the compatible way with WinZip, PKZIP and other popular archivers. Its easy and practical interface makes the library suitable for the beginners as well as for the advanced users.
See what's new in this version.
To be notified about the future library updates, sign up for the ZipArchive Newsletter.
Platforms supported:
- Author:
- Tadeusz Dracz
E-Mail: tdracz@artpol-software.com
Web Site: http://www.artpol-software.com
This library uses the zlib library by Jean-loup Gailly and Mark Adler to perform inflate and deflate operations.
- work in a compatible way with PKZIP and WinZip
- create, modify, extract and test zip archives
- create and extract multi-disk archives (on non-removable disks as well)
- add file to the archive from another archive without decompressing the file (copy compressed data) (see CZipArchive::GetFromArchive)
- highly optimized deleting multiple files from the archive
- optimized replacing and renaming files in the archive
- compression from and decompression to memory, create the whole archive in memory, extract the archive from memory (see Creating and extracting archives from/in memory)
- password encryption and decryption supported
- possibility to create or extract self-extracting archives
- smart compression, if enabled, prevents the file in the archive to be larger after compression (see CZipArchive::Smartness)
- safe compression with CZipArchive::Flush function
- using callback objects for notifications
- to provide easy disk change in a multi-disk archives
- for the progress control when adding, extracting, testing or deleting files or saving archive's central directory
- extracting and deleting using wildcard pattern matching (see CZipArchive::FindMatches)
- UNC and Windows Unicode paths recognized (still, due to the zip format specification, the filnames in the archive are stored using OEM-defined character set)
- wide characters supported
- support for the Java TM Archive (jar) File Format (see CZipArchive::SetIgnoreCRC)
- can be used as a static library or DLL (necessary VC++ projects included)
- possibility to integrate help system with MSDN (see Integrating with MSDN (Visual Studio 6.0 only))
- easy interface
- easy transfer to other system platforms
- speedy
- well documented
- full source code provided
- Visual Studio Projects: version 2003 (available with the library), versions 6.0 and 2005 (available at download page .)
- sample applications provided (for the STL version located in stl/zippie, the MFC version (multithreaded) is available separately - please visit the download page )
If you find a bug, please mail me. Many thanks to the people that already tracked them down and submitted.
All you need to know about the licensing: Licensing information .
It's a good start to read these pages first (prior to reading the raw documentation):
Revision history not only shows how the development of the library went so far, but also you may find here an interesting library feature without digging through the documentation.
If you wish to be notified about the future library updates, sign up for the ZipArchive Newsletter .
ZipArchive Copyright © 2000 - 2006 Tadeusz Dracz . Generated at Fri Apr 7 13:55:23 2006.