Subject Re: [firebird-support] Discovery the Firebird server and client versions trought Delphi
Author Alexandre Benson Smith
Fabrício Fadel Kammer wrote:

>Hi all,
>
>Are there a way to discovery the firebird server (remote machine) and
>the firebird client versions using the Delphi?
>
>I'm asking this because I'm using the Firebird 1.0 and I'm thinking in
>migrating to a new version and I don't want to allow that a machine on
>the network accesses the server with a incorret client version. And I
>don't want that the software be used without the new version of Firebird
>on the server.
>
>Thanks in advance
>
>Fabrício F. Kammer
>Conchal/SP Brazil
>
>
>
Fabricio,

there is an API call to do it, and perhaps the component connectivity
layer should expose it too.

You could use windows API to discover the dll version on the local
machine too.
GetFileVersionInfo
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/winui/winui/windowsuserinterface/resources/versioninformation/versioninformationreference/versioninformationfunctions/getfileversioninfo.asp

see you !

--
Alexandre Benson Smith
Development
THOR Software e Comercial Ltda
Santo Andre - Sao Paulo - Brazil
www.thorsoftware.com.br