Sample Applications|You can find the Stream Compression Sample Application for Delphi in:
SAMPLES\DELPHI 4-7\STREAMCOMPRESSION
This sample application provides you with an example that compresses and decompresses streams using a TfileStream object and the Compress and Uncompress methods.
To use the sample, load the STREAMSAMPLE.DPR project file, then build and run the program.