Subject | Re: [IBO] allowing program to use either gds32.dll or fbclient.dll based on settings |
---|---|
Author | Mark Pickersgill |
Post date | 2006-04-19T10:17:16Z |
Hi Robert,
take a look at the release notes for ibobjects. There have been some
changes in this area for being able to specify different client dll
names. Just do a search for "IB_GetClientLibNameFunc" in:
http://www.ibobjects.com/ReleaseNotes.rtf
Rather than re-assigning the constant, you can now specify a function
that determines what dll name to use.
Also, by the looks of things, by default, the fbclient.dll is attempted
to be loaded first and if it's not found, ibobjects attempts to load
gds32.dll
There's also a "use-at-own-risk" method for unloading and reloading the
dll...but be sure to read the Release Notes!
cheers
Mark
robertgilland wrote:
take a look at the release notes for ibobjects. There have been some
changes in this area for being able to specify different client dll
names. Just do a search for "IB_GetClientLibNameFunc" in:
http://www.ibobjects.com/ReleaseNotes.rtf
Rather than re-assigning the constant, you can now specify a function
that determines what dll name to use.
Also, by the looks of things, by default, the fbclient.dll is attempted
to be loaded first and if it's not found, ibobjects attempts to load
gds32.dll
There's also a "use-at-own-risk" method for unloading and reloading the
dll...but be sure to read the Release Notes!
cheers
Mark
robertgilland wrote:
> Currently in IB_Constants it says this:
>
> // This is the name of the InterBase Client DLL (API) that is used.
> // Use the unit IB_Session511.pas as the first item in the uses clause
> // of your project to change this variable to use an alternate
> GDS32.DLL
> // client library.
> IB_GDS32: string = 'gds32.dll';
>
> However we want this to be configurable by the program,
> in some instances we want it to use the interbase 'gds32.dll' in
> other cases we want it to use 'fbclient.dll'
> We do not want to have seperate versions of our program because the
> RDBMS is different at client sites.
>
> Has IBObjects been updated to allow this?
>
> Regards,
>
> Robert.
>
>
>
>
>
>
>
> ___________________________________________________________________________
> IB Objects - direct, complete, custom connectivity to Firebird or InterBase
> without the need for BDE, ODBC or any other layer.
> ___________________________________________________________________________
> http://www.ibobjects.com - your IBO community resource for Tech Info papers,
> keyword-searchable FAQ, community code contributions and more !
> Yahoo! Groups Links
>
>
>
>
>
>
>
>
>
>
>