Extract the data from the ZIP archive into the stream
To extract the entry or several entries from the opened archive to the stream
you need to set OnExtractionStreamNeeded event,
then use Extract() method with empty OutputPath parameter.
The OnExtractionStreamNeeded event handler should create a stream, to which the data will be written.
ZipReader = new TElZipReader(); ZipReader.OnExtractionStreamNeeded += new SBArcZip.TSBZipProgressEvent(DoExtractionStreamNeeded); ZipReader.Extract("*.txt", "");Alternatively, you can set ExtractionStream property of the directory entry.