Board index » delphi » mutiple application simultanuous running important

mutiple application simultanuous running important

Hi I want to run two different application accessing a same database.  When
I start the second application I get an error : "Unable to initialize the
Borland Database Engine" and no connection is made to the database.   MUst I
put some parameters in BDE or what?

Any suggestion is welcome

--
Ing. De Decker Stefaan
Structo nv
Noorweegse kaai 19
B-8000 Brugge
Belgium
tel dir. 050 / 44.43.69
tel sec. 050 / 44.43.42
fax 050 / 34.23.89
email stefaan.dedec...@structo.be

 

Re:mutiple application simultanuous running important


You get a 'Unable to initialize the Borland Database Engine' if the BDE is
not properly installed. Are the two applications running on different PCs
(both should have the BDE installed !) ?

Multi-user settings in BDE Administrator:

Configuration | System | INIT | LOCAL SHARE = TRUE
Configuration | Drivers | Native | PARADOX | NET DIR = <path of database on
network>

"Stefaan De Decker" <stefaan.dedec...@structo.be> schreef in bericht
news:8ipqao$e5u$1@trex.antw.online.be...

Quote
> Hi I want to run two different application accessing a same database.
When
> I start the second application I get an error : "Unable to initialize the
> Borland Database Engine" and no connection is made to the database.   MUst
I
> put some parameters in BDE or what?

> Any suggestion is welcome

> --
> Ing. De Decker Stefaan
> Structo nv
> Noorweegse kaai 19
> B-8000 Brugge
> Belgium
> tel dir. 050 / 44.43.69
> tel sec. 050 / 44.43.42
> fax 050 / 34.23.89
> email stefaan.dedec...@structo.be

Re:mutiple application simultanuous running important


Stefaan De Decker (stefaan.dedec...@structo.be) wrote:
: Hi I want to run two different application accessing a same database.  When
: I start the second application I get an error : "Unable to initialize the
: Borland Database Engine" and no connection is made to the database.   MUst I
: put some parameters in BDE or what?

Each BDE session must have a unique private directory, which is not
shared with another BDE user or session.  I believe Delphi's default
behavior is to make the executable's directory also the working directory
and private directory as well.  Change this by setting a value for
Session.PrivateDir that is unique for each user AND each database
session.
--
Rick Carter
carte...@email.uc.edu

Other Threads