R – Zlib in Delphi 2009

compressiondelphidelphi-2009soapzlib

I am upgrading a app to Delphi 2009. The app uses Soap and we compress the soap request and response streams using Zlib. This works fine in Delphi 2006 but not in Delphi 2009.

So I went back to Delphi 2006 and changed to use FastZlib. It all worked fine in Delphi2006 but does not work in Delphi 2009 and I get Decompress errors.

Has anyone else had this problem?

How do I go about fixing this?

Sandeep

Best Answer

I just looked through the built-in Zlib.pas and it appears to have been updated for D2009 properly. What's giving you problems?