Location for dbexpida40.dll

Discussion of open issues, suggestions and bugs regarding usage of dbExpress drivers for InterBase & Firebird in Delphi and C++Builder
Post Reply
BruceEglington
Posts: 9
Joined: Mon 19 Sep 2011 22:43

Location for dbexpida40.dll

Post by BruceEglington » Fri 12 Aug 2016 22:07

Where should dbexpida40.dll be located for testing data in datamodules during programming? Iknow where to put it (with the executble files) for use with a compiled Delphi program but am having trouble during coding since moving to Delphi berlin 10.1.

Thanks
Brucec

ViktorV
Devart Team
Posts: 2763
Joined: Wed 30 Jul 2014 07:16

Re: Location for dbexpida40.dll

Post by ViktorV » Tue 16 Aug 2016 07:10

The application will search for the dbexpida40.dll library in the following order:
1. The catalog from which the application is loaded.
2. The. //System32 system folder
3. The //SysWOW64 folder of 64-bit system
4. The //Windows folder.
5. Current workspace.
6. Folders listed in the РАТН environmental variable.
Please clarify in more detail the trouble during coding since moving to Delphi berlin 10.1.

BruceEglington
Posts: 9
Joined: Mon 19 Sep 2011 22:43

Re: Location for dbexpida40.dll

Post by BruceEglington » Fri 30 Dec 2016 18:18

I had to work on a lot of other things so was not able to get back to this.

I have Delphi Professional Berlin Update 2 with the c/s addon pack so am legal to use dbExpress although in this case I am just testing locally.

I have Devart dbExpress for Interbase and Firebird installed (version 4.8.13) and have Firebird 2.5 installed on my laptop.

With all this installed, I ought to be able to start the Delphi Data Explorer, open up the DevartInterbase branch and create a new database connection. When I do this, I cannot connect to the selected database and get a "can't format message" error. None of my existing connections (from older implementations) work now.

Any suggestions?

Thanks
Bruce

ViktorV
Devart Team
Posts: 2763
Joined: Wed 30 Jul 2014 07:16

Re: Location for dbexpida40.dll

Post by ViktorV » Wed 11 Jan 2017 14:54

To solve the problem, please try to reinstall our dbExpress driver for InterBase & Firebird version 4.8.13. If this does not help in solving the problem, please specify the full error message.

BruceEglington
Posts: 9
Joined: Mon 19 Sep 2011 22:43

Re: Location for dbexpida40.dll

Post by BruceEglington » Thu 12 Jan 2017 21:02

Hi
re-installed driver for Firebird 4.8.13 and same problem persists. The error message says
can't format message 13.98 - message file c:\windows\firebird.msg not found. Your user name and password are not defined. Ask your database administrator to set up a Firebird login.

I am using a default Firbird 2.5 installation, exactly like I have used for years and the default admin and masterkey password combination since I was having trouble. Both userid and password are defined in the sqlconnection and it does not matter whether I require a LoginPrompt or not; I still end up with the same error.

I use Delphi Pro Berlin 10.1 with C/S data pack and have been using Devart dbExpress for years until this recent problem.

Thanks
Bruce

ViktorV
Devart Team
Posts: 2763
Joined: Wed 30 Jul 2014 07:16

Re: Location for dbexpida40.dll

Post by ViktorV » Fri 13 Jan 2017 10:30

To solve the problem, please try to specify the exact path to the client library of your Firebird. For example:

Code: Select all

SQLConnection.Params.Values['VendorLib']: = 
  'C:\Program Files\Firebird\Firebird_2_5\bin\fbclient.dll';

BruceEglington
Posts: 9
Joined: Mon 19 Sep 2011 22:43

Re: Location for dbexpida40.dll

Post by BruceEglington » Fri 13 Jan 2017 18:45

Thanks, that sorts it out. For some reason the way paths get stored/handled in Delphi must have changed.

Regards
Bruce

ViktorV
Devart Team
Posts: 2763
Joined: Wed 30 Jul 2014 07:16

Re: Location for dbexpida40.dll

Post by ViktorV » Mon 16 Jan 2017 07:47

We are glad to see you have found a solution.
Feel free to contact us if you have any further questions about our products.

Post Reply