[fpc-devel]confusing zlib organisation

Michael.VanCanneyt at Wisa.be Michael.VanCanneyt at Wisa.be
Sat Nov 22 18:30:58 CET 2003


On Sat, 22 Nov 2003 rstar at mnet-online.de wrote:

> 
> There is a confusing zlib organisation in FP.
> 
> You have to write:
> 
> uses
> {$IFDEF FPC}
>    ZStream,
> {$ELSE}
>    ZLib,
> {$ENDIF}

in FPC, Zlib is the low-level interface to the zlib library. 
ZStream contains a TStream descendent which uses the zlib compression to
compress the stream contents.

I think the Delphi implementation/naming is grossly wrong, and I'm not planning to 
change the names of the units.

Michael.




More information about the fpc-devel mailing list