SPECIAL OFFER        Order and save right now!
20% off with the 729824315 dicscount code for Ultimate Pack and any another product for Delphi from Greatis Programming!

⤷ Define BDE alias

Use DbiAddAlias function with necessary parameters.
Example shows adding STANDARD alias.

uses  DBIProcs, DBITypes;
...
procedure TForm1.Button3Click(Sender: TObject);
var
  AliasName, AliasPath: string;
begin
  AliasName:='TESTAlias2';
  AliasPath:='PATH:C:\Tools';
  Check(
    DbiAddAlias(
      nil, 
      PChar(AliasName), 
      nil, 
      PChar(AliasPath), 
      True));
end;
More for developers
Databases for Amazon Associates
Amazon Categories
Amazon Nodes