Проверяем установлена ли BDE

{codecitation class=»brush: pascal; gutter: false;» width=»600px»}

uses Bde;

function BDEInstalled: Boolean;

begin

Result := (dbiInit(nil) = 0)

end;

procedure TForm1.Button1Click(Sender: TObject);

begin

if BDEInstalled then

ShowMessage(‘BDE is installed.’)

else

ShowMessage(‘BDE is not installed.’)

end;

{/codecitation}

Добавить комментарий