Subject | NEW: IB/FB Client DLL Selector example |
---|---|
Author | Frank Ingermann |
Post date | 2003-07-16T22:37:02Z |
Hi all,
i've made a little example on how to choose the client dll that IBO
uses to access a Firebird/InterBase(TM) server during the launch of
an IBO app.
download it here:
http://www.fingerbird.de/downloads/FBClientDLLSelector.zip
why?
the final release of Firebird 1.5 is approaching, and i am fascinated
esp. by the Embedded version. Playing around with this, it's nice to
be able to choose between GDS32.dll, fbclient.dll and fbembed.dll
without altering code in an application, e.g. to test the behaviour of
an app against different Release Candidates or FB/IB server versions.
how?
i made a form that must be included before any other unit that
uses IBO in your app (usage example at the beginning of the source
code). Just include it, nothing else needs to be done.
Now, when your app starts, the form looks for GDS32.dll, fbclient.dll
and fbembed.dll on your system. It pops up and shows the full path to
each of them (in case they're found, of course ;-)). Below each
selection is a combobox that shows the dll version info for each dll,
so you can tell e.g. a Firebird GDS32.dll from an InterBase(TM) one.
Just select the dll you'd like IBO to use and hit the OK button.
As usual, any comments / feedback greatly appreciated !!
cheers,
Frank
i've made a little example on how to choose the client dll that IBO
uses to access a Firebird/InterBase(TM) server during the launch of
an IBO app.
download it here:
http://www.fingerbird.de/downloads/FBClientDLLSelector.zip
why?
the final release of Firebird 1.5 is approaching, and i am fascinated
esp. by the Embedded version. Playing around with this, it's nice to
be able to choose between GDS32.dll, fbclient.dll and fbembed.dll
without altering code in an application, e.g. to test the behaviour of
an app against different Release Candidates or FB/IB server versions.
how?
i made a form that must be included before any other unit that
uses IBO in your app (usage example at the beginning of the source
code). Just include it, nothing else needs to be done.
Now, when your app starts, the form looks for GDS32.dll, fbclient.dll
and fbembed.dll on your system. It pops up and shows the full path to
each of them (in case they're found, of course ;-)). Below each
selection is a combobox that shows the dll version info for each dll,
so you can tell e.g. a Firebird GDS32.dll from an InterBase(TM) one.
Just select the dll you'd like IBO to use and hit the OK button.
As usual, any comments / feedback greatly appreciated !!
cheers,
Frank