"Could not initialize BDE" error when trying to start Database Desktop
Product Name:��C++Builder�
Product Version:��All�
Product Component:��Database Desktop,�BDE (Borland Database Engine)�
Platform/OS Version:� All
Description:
When I try to start Database Desktop, I get a "Could not initialize BDE" error, after which Database Desktop closes.
I am also unable to start BDE Administrator -- there are no error messages; it simply does not start when double-clicked.
In addition, attempts to use the BDE from within the C++Builder IDE are met with a "An error occurred while attempting to initialize the Borland Database Engine (error $2108)" failure.
Answer/Solution:
This behavior strongly suggests a problem with your BDE path, which is stored in the following part of the Registry:
���� HKEY_LOCAL_MACHINE | SOFTWARE | Borland | Database Engine
In that Registry key, the value CONFIGFILE01 needs to point to your idapi32.cfg file, and the value DLLPath needs to point to the directory where your idapi32.dll resides.
If you have installed C++Builder and the BDE to the default directories, then the data for CONFIGFILE01 should be:
���� C:\Program Files\Common Files\Borland Shared\BDE\IDAPI32.CFG
And the data for DLLPath should be:
���� C:\Program Files\Common Files\Borland Shared\BDE
The CONFIGFILE01 and DLLPath values may be added manually if they are missing.� Their presence, assuming all else is intact, will solve the problem.
Author: Yu-Chen Hsueh