Xceed Zip Compression Library Documentation
Memory Compression Sample App for Visual C++ ATL
Sample applications > Visual C++ > Memory Compression Sample App for Visual C++ ATL

Sample Applications|This sample can be found in:

samples\Visual C++ 6-7\MEMORYCOMPRESSION

The sample is an application that takes input from the keyboard and stores it (as a text file) in a zip file.

The sample uses the QueryMemoryFile and ZippingMemoryFile events to accomplish this, but even if you aren't interested in these events, the sample still demonstrates setting properties, running methods and handling events, so you can use the Compress and Uncompress methods as needed.

Using the sample

To use the this sample, you will need Microsoft Visual C++ 6.0. The sample demonstrates how to:

To use the sample, proceed as follows:

Importing the type library

Event sinking