Page 1 of 1
Can not load fbclient.dll under windows 64bit
Posted: Sat 10 May 2014 13:44
by inageib
Hi,
In TIBCConnection component I pointed out the correct fbclient.dll path to connect to FireBird but I get this error in design time only (at run time it load normally)
but if I used 32bit dll the component connect normally at design time! Any idea why is that ?
I use Windows 7 64bit and Delphi XE5. The project is compiled for 64bit too.
Re: Can not load fbclient.dll under windows 64bit
Posted: Mon 12 May 2014 09:30
by PavloP
If you attempt to establish connection in the IDE, you should use the 32-bit fbclient.dll library, since the IDE is a 32-bit application.
Re: Can not load fbclient.dll under windows 64bit
Posted: Mon 12 May 2014 11:59
by inageib
I see, many thanks.
Re: Can not load fbclient.dll under windows 64bit
Posted: Mon 12 May 2014 12:11
by PavloP
Feel free to contact us if you have any further questions.
Re: Can not load fbclient.dll under windows 64bit
Posted: Sun 26 Apr 2015 02:07
by inageib
After upgrading to new firebird version 2.5.4 I am facing the same problem, I was able to connect to my database at design time when I use this dll
C:\Program Files\Firebird\Firebird_2_5_4\WOW64\fbclient.dll
but when I run the application (without debugging) and try to use same dll I get error "cannot load fbclient.dll"
If I hard coded the path to:
C:\Program Files\Firebird\Firebird_2_5_4\bin\fbclient.dll
I was able to connect !! is it the dll under WOW64 is the 64bit version and I should be able to connect at run time to this dll ? why the contrary is happening ?
Re: Can not load fbclient.dll under windows 64bit
Posted: Mon 27 Apr 2015 08:59
by ViktorV
This, most likely, occurs, because you have installed the 64-bit Firebird 2.5.4. The bin folder of the 64-bit version of Firebird contains the 64-bit client library, and the WOW64 folder contains the 32-bit client library. Therefore, when you run your compiled 64-bit application using C:\Program Files\Firebird\Firebird_2_5_4\WOW64\fbclient.dll, you are getting a corresponding error.
Re: Can not load fbclient.dll under windows 64bit
Posted: Mon 27 Apr 2015 18:08
by inageib
I thought the WOW64 has the 64bit version !! thanks Viktor
Re: Can not load fbclient.dll under windows 64bit
Posted: Tue 28 Apr 2015 05:57
by ViktorV
Feel free to contact us if you have any further questions about IBDAC.