CTarArchive - Create and extract UNIX compatible tarball archives.
This MFC class implements a simple UNIX compatible tarball archive reader/writer for Windows.
One of the common problems when you want to add support for gzip to your application is that gzip doesn’t support multiple files in one archive. That’s where this class comes in handy!
CTarArchive puts multiple files into one file, which then can be compressed using gzip.
Note that this class does not compress or decompress files, you will need a gzip compatible library for that.
For example: http://www.codeproject.com/cpp/cgzip.asp by Jonathan de Halleux.
Download demo executable
Download source code
This class is part of the Pablo Software Solutions MFC Extension Package - Classes Edition