Re: detect BDE version

Posted by Newb on December 13, 2007

In Reply to Re: detect BDE for delphi database program posted by John, DelphiLand Team on December 10, 2007

: procedure TForm1.Button1Click(Sender: TObject);
: var
: BDEInstalled: Boolean;
: begin
: BDEInstalled := (dbiInit(nil) = 0);
: if BDEInstalled then
: ShowMessage('The BDE is installed')
: else
: ShowMessage('The BDE is NOT installed');
: end;

Thanks, works great!
If the BDE is installed, how can I find out which version?
I read that at least version 5.2 is needed for Turbo Delphi, is that correct?

Follow Ups