Delphi .NET (2) Database (71) Delphi IDE (89) Network (39) Printing (3) Strings (12) VCL (83) Windows with Delphi (280)
Exchange Links About this site Links to us 
|
Check the BDE version in your application
This article has not been rated yet. After reading, feel free to leave comments and rate it.
Sometimes you may want to have your application check that the proper BDE version is installed.
Use the following code, provided by Richard C Haven:
 | |  | | program BDEVersion;
uses
Forms,
DB,
BDE,
Dialogs,
SysUtils;
var
ThisVersion : SYSVersion;
begin
DbiGetSysVersion(ThisVersion);
ShowMessage('BORLAND DATABASE ENGINE VERSION = ' + IntToStr(ThisVersion.iVersion));
end. | |  | |  |
Comments:
|