Subject Re: [IBO] configuring IBO 4.3Aa for FB 1.5
Author Mark Pickersgill
Sunday, 16 May 2004, 11:19 PM
Hi Russell,

If I understand you correctly, you are wanting to force your app to use

If so, you can create an arbitrary unit with the following code (this
was from a previous posing a while back):
unit IB_Session_FB;

// This unit must be included as the first unit in the .dpr file.
// This forces IBObjects to use the fbclient.dll file instead of the GDS32.dll
// client library file.




// Replace the normal value with the alternate client DLL value.
IB_Constants.IB_GDS32 := 'FBCLIENT.DLL';


As the comments suggest, you should add this file as the first unit in
your dpr file.

This will force IBObjects to use fbclient.dll.

As for fbclient.dll not being installed into system folder, you may
want to do a search for "windows DLL hell" or the like.

Correctly, the FB folk keep the client DLL in the application's
directory to ensure there are no DLL clashes.

I think it's in the FB release notes somewhere that mentions/suggests
a way to use the client dlls, and that is to keep the fbclient.dll,
msvcp60.dll and msvcrt.dll files in the same folder as your program's
exe, and also create 3 empty files named: fbclient.local,
msvcp60.local, msvcrt.local

This ensures that when windows goes to link the DLLs at run-time it
will use the DLLs in your apps folder as opposed to windows or system
or system32. Think of it as an override.