Jump to content
RaelB

TDBXError trying to connect to Firebird DB with DBExpress in 10.4

Recommended Posts

I'm trying to connect to a Firebird Database (3.0.7, EMPLOYEE.FDB included with zip package), using DBExpress in Delphi 10.4. I set the properties in TSQLConnection, 

Driver.Database, and VendorLib. I have installed Firebird server 32 bit (3.0.4) on my system (Windows 10).

 

In the IDE, when I set Connected to True I get this error:

Exception class TDBXError with message 'DBX Error:  Driver could not be properly initialized.  Client library may be missing, not installed properly, of the wrong version, or the driver may be missing from the system path.'. 

 

Same error when I connect via code. I also tried placing these files in the app dir: 

midas.dll
dbxint.dll
fbclient.dll
gds32.dll

 

but same result. What could be wrong?

Thanks

Edited by RaelB

Share this post


Link to post

Yeah, you're right... I tried ChatGPT and it gave me some useful leads. It mentioned the open source project https://github.com/ccy/dbx4fb . Using the dll from there worked without problems, so it seems like there's a problem with the dbxint.dll, although not sure what.

 

It said I needed dbxfb.dll, When I told it that I don't have dbxfb.dll on my system, it was sure that that was the cause of the problem. So I then went looking to see how I could install it. But then I realised, as far as I can tell, that is just bogus, there is no such thing..

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×