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;