This sample demonstrates how to compress and decompress a file using different kinds of compression formats and methods.
Project path: Samples\Delphi 4-7\Manager
Project file name: Manager.dpr
Properties: CompressionFormat
Method: ProcessFile
Select the compression formats from the combo box. This combo also includes compression methods; in that case, the compressed file will have no formatting.
Select the source file and the destination file. When selecting a source file name, the manager assigns a default value to the destination file if its empty. Click on the Compress button or Decompress button to perform the desired action.
All errors when encoding or decoding are shown in a text box at the bottom of the main form.