PDA

View Full Version : HELP - Multiple BDEs



NewsArchive
01-26-1998, 01:00 AM
Hi everyone.

I have two applications in Delphi 3.0, which have been installed using
IS XPress 2.01. Both applications are installed on the same machine,
but when you try to run both at the same time, I get an "$210C" error,
which I understand as not being able to run 2 BDEs at the same time.

BUT...

I left all the default directories that installshield generates for the
BDE installation alone, as this permits me to uninstall one of the two
applications without disturbing the other. When I located both BDEs at
the same place on the disk (Borland\Common Files\whatever...), I got
problems uninstalling the applications. If I uninstalled one of them,
the other would not work.

QUESTION: Is there any way to install the BDE so that two (or more)
applications using it can run together, while being able to uninstall
one of them without screwing everything up for the other applications?

Any and all help is greatly appreciated.

Marc Charron
Unicate Network Inc.

NewsArchive
01-26-1998, 01:00 AM
On Mon, 26 Jan 1998 16:18:05 -0500, Marc Charron <marc@unicate.com> wrote:
>problems uninstalling the applications. If I uninstalled one of them,
>the other would not work.

Because the BDE was uninstalled.

>QUESTION: Is there any way to install the BDE so that two (or more)
>applications using it can run together, while being able to uninstall
>one of them without screwing everything up for the other applications?

No. The problem is the following. Borland does not have a way of notifying
whether there is another application that is using the BDE (e.g. a
reference count of some sort).

The application you installed first will think that there is no other
application using the BDE and uninstalls it. The second application thinks
that IT installed the BDE and hence uninstalls it too.

I'm told that InstallShield is improving the BDE object in Delphi, so we
might see such an improvement. You might (I say MIGHT) create a custom
script that will install the BDE only if there is no copy on the machine by
using an extension etc.

Stefan
ellipse data systems