The Zip Manager Sample Application for C++ Builder 4 and up can be found in:
SAMPLES\C++ BUILDER 4-5\ZIPPINGMEMEORY
SAMPLES\C++ BUILDER 6\ZIPPINGMEMEORY
This application demonstrates how to compress data coming from memory while making it appear as a file entry inside zip file. also demonstrates how to decompress a file coming from a zip file directly into memory.
The sample includes fully commented source code which complement the examples available in the online help, but in the context but in the context of a real application, not specific examples designed exclusively to demonstrate each method. We propose that you dive right into the sample's source code and take a look.
To use the sample, load the XCEEDBCBEXAMPLE.BPR project file, then run the program.