Xceed Streaming Compression Library Documentation
Decompress Sample Application for Visual C++
Sample applications > Decompress Sample Application for Visual C++

Description

This sample demonstrates how to decompress a file using different kinds of compression formats and methods.

Source files

Project path: Samples\Visual C++ 6-7\Decompress

Project file name: Decompress.dsp

Demonstrates

Properties: CompressionFormat

Method: ReadFile and ProcessFile

How to use

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).