Page 1 of 1

Cannot load fbclient.dll

Posted: Tue 21 Jun 2016 16:04
by HelgeLange
Hi DevArt,

I have a very strange problem : after a reinstall of firebird I get this fbclient.dll not found error, although I do have a working fbclient.dll in Windows\System32 directory.
If I copy that dll from there next to the exe, it works fine

a process monitor tells me, that the program finds the dll in system32, but basically ignores it and I don't know, why.

Image

(screenshot from the process monitor)

Any ideas ?
Helge

Re: Cannot load fbclient.dll

Posted: Wed 22 Jun 2016 19:07
by FredS
Just a guess; did you check your SpecificOptions->Clientlibrary value?

Re: Cannot load fbclient.dll

Posted: Thu 23 Jun 2016 13:36
by ViktorV
This error occurs, when bitness of the client library doesn't match bitness of the application. From your screenshot we can see that you have multiple client libraries on your computer at different locations.
If the TUniConnection.SpecificOptions.Values['Clientlibrary'] property is set to an empty string, UniDAC will search for a client library in the following order:
1. The catalog from which the application is loaded.
2. The //System32 system folder for 32-bit Windows system or the //SysWOW64 folder of 64-bit Windows system.
3. The //Windows folder.
4. Current workspace.
5. Folders listed in the РАТН environmental variable.
Please make sure, that bitness of the automatically loaded client library matches bitness of the application, or explicitly specify the path to client library in the TUniConnection.SpecificOptions.Values['Clientlibrary'] property.