Subject Re: [IBO] Select which client library to use?
Author Lee Jenkins
> OK, what you were asking before doesn't marry with what you are talking
> about here. Now you want to use two completely different client versions
> inside a single app to connect to different server versions?
>
> Helen
>

Ha! I know I'm all over the place on this one. I'm just trying to find a
good solution to do what I want. I tried using the fbclient.dll (renamed to
gds32.dll) to connect to both the embedded server as well as a remote server
and it didn't seem to work. It seems that it has something to do with the
server property being ignored?

For instance, this does not work:
// It looks for the database file locally, regardless of what the server
property is set to
With IBODatabase1 DO
Begin
Server := '192.168.1.200';
Database := 'C:\mypath\mydb.fdb';
Connect;
End;

...while this seems to work:

With IBODatabase1 DO
Begin
Database := '192.168.1.200:C:\mypath\mydb.fdb';
Connect;
End;

My impression was that the Server property and the Database property were
concantenated together before connect, but that does not seem to be the
case, at least using this version of the library. I believe there was
something mentioned in the release notes about the server property being
ignored?

I was only looking to swap dll's at runtime if that was the only way to do
what I wanted to do. Since I do not have to swap dll's (and its an ugly way
of doing what I wanted), its a moot point now.


Thanks again for the all the help.

Lee