On 2013-07-28 18:30, Dennis Poon wrote: > I need to use CompressBuf and DecompressBuf of zlib in fpc.
Exactly what Michael said, plus take a look at the dzlib.pas unit included in the tiOPF project (available on SourceForge) in the "Options' directory. It's a FPC & Delphi compatible zlib unit. While you are there, it might be worth looking at the tiCompress and tiCompressZLib units too. They give a very easy to use API interface to compresssing buffers, streams, strings and files etc. Regards, - Graeme - _______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal