Subject Re: [IBO] Re: Client DLLs?
Author Nando Dessena
Helen,

>>at some point someone also posted in this list a version that read the
>>client library
>>path from the registry, following the latest RC7 rules.

H> It's quite a good idea, but it won't help if tib_session is trying to load
H> "gds32.dll". How are you going to bootstap the application, prior to
H> looking for and loading the client, if it doesn't know what is running on
H> the server? And IB still installs gds32.dll to the system directory...

I don't follow you. If my memory serves me well, that unit's
initialization section contained some code that read the registry key
containing the path and then set the IB_GDS32 (or whatever) variable
to that string plus 'fbclient.dll'. TIB_Session then loads whatever
library whose name you put in that variable.

Of course this approach works if you know at compile time which kind
of client library your application is going to use.

The thing I plan to work on shortly, on the other hand, will allow for
run-time specification of the client(s) to load.

Ciao
--
Nando mailto:nandod@...