Page 1 of 1

Could dbexpsda40.dll not exist in Deployment?

Posted: Wed 28 Apr 2021 07:05
by Eden0928
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?

Re: Could dbexpsda40.dll not exist in Deployment?

Posted: Thu 29 Apr 2021 11:18
by Stellar
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;

Re: Could dbexpsda40.dll not exist in Deployment?

Posted: Mon 03 May 2021 00:52
by Eden0928
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!

Re: Could dbexpsda40.dll not exist in Deployment?

Posted: Fri 23 Jul 2021 12:42
by Stellar
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