> Hi, > > I'd like to unzip one file from a zip archive and use it directly as > input for something else (sax or self written parser). > > Since the unzip package form the "extra" dir only writes to disc files: > > Is there any alternative source for writing from zip to a stream instead > of a file? > > Or even better: is any fpc source for extracting the document info from > Openoffice.org files already written? ;)
Hi Marc, You can have a look at TZipFile (http://wiki.lazarus.freepascal.org/ZipFile). The only problem still with it is that it does not support decoding / encoding. But the basis is there already. You can access a zipfile as if it's a filesystem. Darius _______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal