Mega Code Archive

 
Categories / Delphi / ADO Database
 

Dbigetsysversion does not report minor releases

Question: I have BDE 5.01. When I use DbiGetSysVersion it reports I have version 500. How come it doesn't report 5.01? How do I get the current version of the BDE I'm using programatically? Answer: DbiGetSysVersion is generally only updated for major releases. Therefore, version 5.01 didn't cause it to be modified. You find out the exact version by looking at the version information of IDAPI32.DLL.