[Lazarus] GZip issues

Michael Van Canneyt michael at freepascal.org
Mon Nov 16 22:03:24 CET 2015

On Mon, 16 Nov 2015, Ondrej Pokorny wrote:

> On 15.11.2015 22:11, Werner Pamler wrote:
>> Another question: I would prefer to avoid Abbrevia altogether and use the 
>> standard zip support in fpc.
> Lazarus doesn't include support for ZIP files, AFAIK. A ZIP file is a 
> container of compressed streams. So you have to parse the ZIP file structure 
> and then use TDecompressionStream on the stream you want to decompress.
> I wrote a decent ZIP wrapper unit for FPC and Delphi. In FPC it uses 
> "paszlib", in Delphi it uses "System.ZLib".
> But it depends on some of my internal classes. Maybe I will rewrite it so 
> that it could be included into FCL. But I really have a lot of work now :(

Since many years, FPC has a zipper unit which contains zip and unzip functionality.


More information about the Lazarus mailing list