Page 1 of 1

IBDatabase use TSQLConnection

Posted: Sat 01 Mar 2014 13:36
by Reflic
Hello,

i am currently testing the IBDAC Components for Delphi with XE3.

When I only use a TSQL Connection with the required settings i have no problems to esthablish a connection.

But when i want to use the IBDatabase Component, it says that he uses the driver for Intebase GDS32.dll and when i want to open the database an error ocurrs.

I thought the databse component would use the settings from the connection?
Am i able to define which client libary the IBDatabase Component should use?
If not what must i do to get this working? (Maybe delete GDS32.dll in System32 and replace it with fbclient.dll?)

Thanks for your help

Re: IBDatabase use TSQLConnection

Posted: Tue 11 Mar 2014 08:33
by ZEuS
The IBDatabase component does not belong to IBDAC. It is a part of InterBase Express (IBX) components supplied with Delphi. IBX components are designed to work with InterBase only, therefore the gds32.dll client library is required to establish a connection.
IBDAC is designed to work with both InterBase and Firebird. To connect to the database with IBDAC, you should use the TIBCConnection component which is located on the IBDAC page of Tool Palette. You can specify the appropriate client library using the TIBCConnection.ClientLibrary property (set gds32.dll when connecting to InterBase or fbclient.dll when connecting to Firebird).