Subject | Re: [firebird-support] re: Can't get Firbird 3.x embedded to work in Delphi 10.3 update 1? |
---|---|
Author | Frank_Schlottmann-G=c3=b6dde |
Post date | 2019-04-24T15:37:36Z |
I’ve gone over the three responses by liviuslivius, Dimitry Sibiryakov and Frank_Schlottmann-G=c3=b6dde.
I must have misunderstood something in the documentation so I switched the VendorLib in the TFDPhysFBDriverLink back to fbclient.dll.
Liviuslivius: In FDConnection1 settings are the same as what you describe, I checked and by default the providers line was commented out in firebird.conf and I edited it to only be ”Providers = Engine12”
Frank_Schlottmann: I also followed your directions but the version 3 dll’s are the same name but they have 52 instead of 62.
One thing, my application is 64bit and I do have the 64bit fbclient.dll in the Debug / application so can you connect to an embedded database at design time by checking the Connected property of the TFDConnection component? I remember reading somewhere that during design time that since the IDE is 32bit that in certain instances there may be a bitness problem between design time and run time? But regardless of if it’s designed time or run time I still get “Database unavailable”?
You could try to use sth. like:
[FB40]
; FB40 virtual driver will use specified Firebird client library
BaseDriverID=FB
VendorLibWin32=C:\Program Files\Firebird\Firebird_4_0\WOW64\fbclient.dll
VendorLibWin64=C:\Program Files\Firebird\Firebird_4_0\fbclient.dllin your fddrivers.ini.
The ide needs a 32-bit-Version.
http://docwiki.embarcadero.com/RADStudio/Rio/en/Configuring_Drivers_(FireDAC)
mit freundlichen Grüßen Frank Schlottmann-Gödde