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

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

Postby kamrava » Mon 16 Jul 2012 15:28

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
kamrava
 
Posts: 9
Joined: Thu 10 May 2012 12:42

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

Postby AndreyZ » Tue 17 Jul 2012 06:58

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.
AndreyZ
 

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

Postby kamrava » Tue 17 Jul 2012 07:36

Tnx AndreyZ.
But what must i do to use that ?
kamrava
 
Posts: 9
Joined: Thu 10 May 2012 12:42

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

Postby AndreyZ » Tue 17 Jul 2012 07:58

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;
AndreyZ
 


Return to dbExpress driver for InterBase & Firebird