Page 1 of 1

FB3 : How to set wirecompression to true

Posted: Mon 03 May 2021 13:34
by ricolebo
Hello,

I want to enable wirecompression on FB3
This setting must be done at client side
Is it possible to set this parameter with the actual DBExpress driver ?

Parameter could be like this : Connect.Params.Values['config'] := 'WireCompression=true';

I found informations about this here : https://stackoverflow.com/questions/539 ... rebird-3-0


Thank you
Eric

Re: FB3 : How to set wirecompression to true

Posted: Fri 07 May 2021 13:32
by ViktorV
Hi Eric,

To enable WireCompression on client side, you should add the string "WireCompression=True" in the parameters of the Delphi TSQLConnection component.
In order for compression to work correctly, you should use the zlib1.dll library, bit depth of which should corresponds to bit depth of your application. Please place the required zlib1.dll library in the directory with your executable file and make sure that your application starts useing it when calling the Connect method.
Note, in order to determine whether your application uses zlib1.dll you can use a third-party utility, e.g. Process Explorer.

Regards,
Viktor