Subject Re: [firebird-support] Can't get Firbird 3.x embedded to work in Delphi 10.3 update 1?
Author Frank_Schlottmann-G=c3=b6dde
Am 23.04.19 um 14:11 schrieb 'Chris LeFebvre' lefebvrec@... [firebird-support]:


Vendorlib should be fbclient.dll, it will load engine12.dll from the plugin-directory

Your application directory should contain the following Firebird directories
lib
intl
plugins

and the following files:
fbclient.dll
firebird.msg
ibutil.dll
icudt63.dll
icudt63l.dat
icuin63.dll
icuuc63.dll

not sure, what icu-dlls are necessary for FB 3.0, this is from FB 4.0.



I use Firebird server Windows server regularly but for a specific application I’m trying to configure and use the Firebird 3.0.4 embedded in the latest version of Delphi. When RAD Studio 10.3.1 was released in the announcement of added and improved features it was mentioned "Improved FireDAC support for Firebird 3.0.4 and Firebird embedded" but there’s no documentation on exactly what the setup in FireDAC is for Firebird embedded.

 

I posted this thread in the Idera support forums two months ago with only one response that I’m sorry to say wasn’t very helpful https://community.idera.com/developer-tools/data-internet-and-web-services/f/data-19/67943/rad-studio-10-3-1-firedac-support-for-fir ebird-3-x

 

I’ve looked and these documents on the Firebird website: https://firebirdsql.org/file/documentation/reference_manuals/fbdevgd-en/html/fbdg30-firedac-libpath.html#fbdg30-firedac-embedded & https://www.ibphoenix.com/files/Embedded_fb3.pdf

And it seems like the setup should be that the FireDAC TFDPhysFBDriverLink should have “Embedded” set to true (which I do) and “VendorLib” should point to “engine12.dll” located in the Firebird/plugins directory (which it is). In the actual TFDConnection component the Firebird database file is located in the same directory as the application executable and the params / database points to the fdb file; as is mentioned in the documentation I’ve left the server address blank “When the Dispatcher encounters a hostless connection path, it first tries the Remote provider and, as expected, fails in the absence of the networked service. Next, it tries the Engine12 provider, which should succeed if the database is not exclusively locked by a Superserver process or another embedded engine instance.” My development computer does not have regular Firebird server and the fdb file is not lock by any other process.

 

Also I tried uncommenting “#Providers = Remote,Engine12,Loopback” in the firebird.conf file and editing it to only be “engine12” removing Remote and Loopback but still no joy.

 

But no matter what I try I keep getting the message “Unavailable Database” and I’m sorry if this is not necessarily the correct place for this question but after two months I feel I’ve exhausted my options for support from the Idera forums. Does anyone have any ideas about why this isn’t working and what changes I need to make to the FireDAC config in order to get embedded to work?




mit freundlichen Grüßen
Frank Schlottmann-Gödde

-- 
Oldenburger Str. 34, 23743 Grömitz, Tel.: 04562/266984