Check if the Borland Database Engine (BDE) is installed

Spread the love

Check if the Borland Database Engine (BDE) is installed

uses
  BDE;

function CheckBDEInstalled: Boolean;
begin
  Result := (dbiInit(nil) = DBIERR_NONE)
end;

procedure TForm1.Button1Click(Sender: TObject);
begin
  if CheckBDEInstalled then
    ShowMessage('BDE is installed.')
  else
    ShowMessage('BDE is not installed.')
end;