This sample demonstrates how to decompress a file using different kinds of compression formats and methods.
Project path: Samples\Visual C++ 6-7\Decompress
Project file name: Decompress.dsp
Properties: CompressionFormat
Method: ReadFile and ProcessFile
This sample is a console application that takes at least one parameter (the source file name) to perform decompression. The sample's usage description is:
Decompress [options] input_file [output_file]
The parameters between brackets are optional. The option parameter can be used to specify the compression format (/m). If the compression format is omitted, the Standard compression format will be used to decompress. If the output file name is omitted, the sample will show the decompressed data to the console (the screen).