Link to home
Start Free TrialLog in
Avatar of Kapusta
Kapusta

asked on

Exception EDatabaseError

I am running Windows 2000, and I have Delphi 1, 2, 3 and 5 installed on this
one PC.

It has been a few months since I've used Delphi 1, but now when I launch
Delphi 1, I get the following message :

                           Application Error
                      Exception EDatabaseError in
                    module COMPLIB.DCL at 000A:1246
An error occurred while attempting to initialize Borland Database Engine
(error $2108)

Which is followed by :

                      Cannot open component library
                 C:\PROGRAMS\BORLAND\DELPHI\BIN\COMPLIB.DCL

Which means hat no components appear in the component palette when Delphi finishes coming up.

The other versions of Delphi run just fine.

What may have gone wrong with Delphi 1?  I copied a backup of my COMPLIB.DCL from a backup PC to my primary PC, but that does not solve the problem.  I know there isn't anything wrong with the component library, therefore.

When I launch the Delphi 1 BDE Config utility, I get the error "System configuration file not found".

When I launch Delphi 1's Database Desktop, I get "Private directory is invalid or undefined.  Using tempoary directory instead."  then followed by this error "Could not initialize IDAPI"
Avatar of DragonSlayer
DragonSlayer
Flag of Malaysia image

I think it's because of conflicting BDE versions. Delphi 1 uses a 16-bit BDE.
Avatar of Kapusta
Kapusta

ASKER

>> I think it's because of conflicting BDE versions.
>> Delphi 1 uses a 16-bit BDE.

I don't think this is the problem.  I have been running Delphi 1 and Delphi 2 together for approx 5 years.  I have been running Delphi 1 and Delphi 3 together for approx 4 years.
ASKER CERTIFIED SOLUTION
Avatar of Cynna
Cynna

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Kapusta

ASKER

The WIN.INI file had been destroyed by some misbehaving program.