Could dbexpsda40.dll not exist in Deployment?

Discussion of open issues, suggestions and bugs regarding usage of dbExpress drivers for SQL Server in Delphi and C++Builder
Post Reply
Eden0928
Posts: 55
Joined: Sun 22 Apr 2012 14:08

Could dbexpsda40.dll not exist in Deployment?

Post by Eden0928 » Wed 28 Apr 2021 07:05

I learned in the "Deployment" chapter of the "README" file:
Users of dbExpress driver for SQL Server with Source Code can embed the driver into the application directly. For information on how to do this refer to Borland documentation
.

This sentence means that if I have purchased the SOURCE version, I don’t need to bring "dbexpsda40.dll" when I publish it?

There is no "Borland Documentation" now. Is there more information for reference?

Stellar
Devart Team
Posts: 430
Joined: Tue 03 Oct 2017 11:00

Re: Could dbexpsda40.dll not exist in Deployment?

Post by Stellar » Thu 29 Apr 2021 11:18

Hey Eden,

You can built-in DBX driver library into your application. In order to do this, you need to have version of our driver along with source code.
To do this please add DbxSdaDriverLoader unit to uses section, and add Builtin to the name of the driver.
For example:

Code: Select all

uses
  Data.DB, Data.SqlExpr, DBXDevartSQLServer, DbxSdaDriverLoader;

...

procedure TForm1.Button1Click(Sender: TObject);
begin
  SQLConnection1.DriverName := 'DevartSQLServerDirectBuiltin';
  SQLConnection1.LibraryName := 'dbexpsda41.dll';
  SQLConnection1.VendorLib := '';  
  SQLConnection1.GetDriverFunc := 'getSQLDriverSQLServerDirect';
  SQLConnection1.Params.Values['OS Authentication'] := 'False';
  SQLConnection1.Params.Values['HostName'] := 'Host';  
  SQLConnection1.Params.Values['User_Name'] := 'sa';
  SQLConnection1.Params.Values['Password'] := '';
  SQLConnection1.Params.Values['Database'] := 'Database';
  SQLConnection1.LoginPrompt := False;
  SQLConnection1.Connected := True;
end;

Eden0928
Posts: 55
Joined: Sun 22 Apr 2012 14:08

Re: Could dbexpsda40.dll not exist in Deployment?

Post by Eden0928 » Mon 03 May 2021 00:52

Learn superb information!

I already have the Standard version, will there be a discount for upgrading to "With Source" in the future? (hopefully more than 25%)

Looking forward to it!

Stellar
Devart Team
Posts: 430
Joined: Tue 03 Oct 2017 11:00

Re: Could dbexpsda40.dll not exist in Deployment?

Post by Stellar » Fri 23 Jul 2021 12:42

Hi Eden,

Please note that this forum is created for technical requests only.
Please use the contact form below in order to reach our billing team by email so they could assist you with this question:
https://www.devart.com/company/contactform.html

Regards,
Sergey

Post Reply