How can I from inside my appication detect which BDE version that is
installed ? ... and if BDE is installed at all ?
Thanks!
/sten
(I'm using C++ Builder, not that it matters.)
--
Bill
Bill Todd (TeamB)
(TeamB cannot respond to questions received via email)
thank you for your response. I feel a little bit silly - I should have
realized that.
>See DbiGetSysVersion in the BDE API help file in your BDE directory.
/sten
DbiGetSysVersion reports 500 After installing BDE 5.10!?
I guess thats how things are.
Thanks again.
/sten
>DbiGetSysVersion reports 500 After installing BDE 5.10!?
correct. to get the exact version. Look up the regkey
SOFTWARE\\Borland\\Database Engine
it will hold the path to "idapi32.dll"; , I do not recall the exact regkey..
read the value to get the local instal patch
The default install is
String szdir = "C:\\Program Files\\BORLAND\\COMMON FILES\\BDE";
if( SetCurrentDirectory( szdir.c_str()))
{
then do one of the many fileversion examples posted in the winapi group.
HTH