Subject Re: [firebird-support] Client installation check
Author Alexandre Benson Smith
willy_metra wrote:

>
>Hello,
>
>i would like to ask you, if there's some api in FDB,
>which checks, if database client (gds32.dll) is installed.
>In InterBase it's something like CheckIBLoaded, i think.
>
>Thank you for your help.
>
>
I think I didn't get it... :-(

How a server (the engine) will now if a client has a dll loaded ?

How the client will contact the server to ask for the information if it
don't have the client library installed and loaded ?

take a look on function GetModuleHandle of the win32 API, to see if it
is what you are after.
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dllproc/base/getmodulehandle.asp

Maybe your middle-ware could have such funcionality wraped in a single
function, don't know about it.

see you !

--

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



--
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.308 / Virus Database: 266.8.5 - Release Date: 29/03/2005