Проверить, установлен ли BDE



Оформил: DeeCo

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;

Copyright © 2004-2025 "Delphi Sources" by BrokenByte Software. Delphi World FAQ

Группа ВКонтакте