Solved

How do I use  Multiple Idapi files

Posted on 2004-10-21
177 Views
Last Modified: 2010-04-04
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.
0
Question by:junebrown
    4 Comments
     
    LVL 1

    Expert Comment

    by: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
    0
     

    Author Comment

    by:junebrown
    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.
    0
     

    Author Comment

    by:junebrown
    I work out how to do via dbinit, customer now happpy
    0
     

    Accepted Solution

    by:
    Closed, 125 points refunded.

    modulo
    Community Support Moderator
    Experts Exchange
    0

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    What Security Threats Are You Missing?

    Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

    A lot of questions regard threads in Delphi.   One of the more specific questions is how to show progress of the thread.   Updating a progressbar from inside a thread is a mistake. A solution to this would be to send a synchronized message to the…
    Introduction Raise your hands if you were as upset with FireMonkey as I was when I discovered that there was no TListview.  I use TListView in almost all of my applications I've written, and I was not going to compromise by resorting to TStringGrid…
    Want to pick and choose which updates you receive? Feel free to check out this quick video on how to manage your email notifications.
    Migrating to Microsoft Office 365 is becoming increasingly popular for organizations both large and small. If you have made the leap to Microsoft’s cloud platform, you know that you will need to create a corporate email signature for your Office 365…

    913 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    17 Experts available now in Live!

    Get 1:1 Help Now