Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / fpc-devel / 2003-11

confusing zlib organisation

2 messages · 1 person ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Unknown author
to Unknown author
Show quoted text 11 lines
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.

Reply by email