Page 1 of 1

Error "Devart.Dbxida.DriverLoader...."

Posted: Mon 16 Jul 2012 15:28
by kamrava
Hello

I'm new and using Delphi XE2 (Update 3) And Installed "dbExpress driver for InterBase & Firebird 3.1.3"

When clicking DevartInterBase on Delphi Data Explorer :

Image

I get below error :

Image

Please help me.

Thank You

Re: Error "Devart.Dbxida.DriverLoader...."

Posted: Tue 17 Jul 2012 06:58
by AndreyZ
Hello,

Data Explorer is a part of the .NET application (RAD Studio) and requires .NET assemblies to work, and RAD Studio 2009, 2010, XE, XE2 do not allow making .NET assemblies (this feature was available in Delphi 2007), that's why now our dbExpress drivers don't support Data Explorer for the IDEs listed above.

Re: Error "Devart.Dbxida.DriverLoader...."

Posted: Tue 17 Jul 2012 07:36
by kamrava
Tnx AndreyZ.
But what must i do to use that ?

Re: Error "Devart.Dbxida.DriverLoader...."

Posted: Tue 17 Jul 2012 07:58
by AndreyZ
For the time being you cannot use Data Explorer to work with dbExpress driver for InterBase and Firebird. We are working on this question now and we will try to add Data Explorer support in one of the next dbExpress driver for InterBase and Firebird versions.
You can use dbExpress driver for InterBase and Firebird with the help of the TSQLConnection component in design-time or run-time. Here is a code example that demonstrates usage of dbExpress driver for InterBase and Firebird in run-time:

Code: Select all

procedure TForm1.Button1Click(Sender: TObject);
begin
  SQLConnection1.ConnectionName := 'Devart InterBase';
  SQLConnection1.DriverName := 'DevartInterBase';
  SQLConnection1.GetDriverFunc := 'getSQLDriverInterBase';
  SQLConnection1.LibraryName := 'dbexpida40.dll';
  SQLConnection1.VendorLib := 'gds32.dll';
  SQLConnection1.Params.Values['HostName'] := 'hostname';
  SQLConnection1.Params.Values['Database'] := 'database';
  SQLConnection1.Params.Values['User_Name'] := 'username';
  SQLConnection1.Params.Values['Password'] := 'password';
  SQLConnection1.LoginPrompt := False;
  SQLConnection1.Open;
end;