Subject Re: [IBO] How to know the server version from the client???
Author Helen Borrie
At 08:16 PM 2/03/2005 +0000, you wrote:


>Helen wrote:
>
> >IBO also checks to find out whether the running server is Firebird
>1.5. >It
>needs to do this because IBO traditionally had a built-in workaround for a
> >persistent bug in the way InterBase manages the parameter structures.
> >This
>bug is fixed in Firebird but not in InterBase or Firebird 1.0, so IBO from
>v.4.3-forward runs a special query that can tell it whether it is
>connecting to Firebird 1.5.
>
>And how can i know the result of that test in my application?? any
>property that holds the version of the server???

TIB_Connection has a Characteristics property, a packed record named
TIB_ConnectionCharacteristics. The field dbFBVersion: string; will help
with this.

Helen