Link to home
Start Free TrialLog in
Avatar of junebrown
junebrownFlag for United Kingdom of Great Britain and Northern Ireland

asked on

How do I use Multiple Idapi files

We have to install our s/w on a client PC which already uses the BDE idapi.cfg, but our application requires different settings of the BDE.
How do I access another idapi.cfg file at run-time so I don't effect the existing application.
I am using delphi.
Avatar of sokpas
sokpas

You could avoid using IDAPI.CFG at all. I believe this will help you out :

http://burks.brighton.ac.uk/burks/language/pascal/uddf/pages/bde.htm#bde0

Regards,
Sokpas
Avatar of junebrown

ASKER

Setting the alias isn't the problem I know how to do that.
It getting hold of things like the memsize/sharedmemsize.. (from system/init) and restoring them to 'our' preferred values.
I know I can set all these at run-time,but I wanted to know if I could just state  I want to use an idapi.cfg file from another directory in preference.
I work out how to do via dbinit, customer now happpy
ASKER CERTIFIED SOLUTION
Avatar of modulo
modulo

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