Subject Re: IB 7.1 and FB 2.0 together
Author mr_thomas_ellis
> Is it possible to connect to a local IB 7.1 server AND and remote FB
> 2.0server in the same application using IBX?

Hi John,

yes it is possible I have created a new interface for debug purposes
(to get transaction handles to track long running trns). Practaically
you won't be able to have IB and FB components connected at the same
time, I think that you could but you've have to switch libraries
between each call to the components. Take a look at the IBIntf.pas
file you can create a new unit for the interface and then just call
RegisterGDSLibraryFactory( GetMyGDSLibrary );
before connecting any components.

My unit looks something like this:
unit ...
function GetDebugGDSLibrary: IGDSLibrary;
implementation
type
TDebugGDSLibrary = class(TInterfacedObject, IGDSLibrary)
... //copy from TDynamicLibrary in IBIntf.pas
public
procedure LoadIBLibrary;
... //copy from TDynamicLibrary in IBIntf.pas
end;
procedure TDebugGDSLibrary.LoadIBLibrary;
...
begin
IBLibrary := LoadLibrary(PChar('fbclient.dll'));
...
end;
initialization
RegisterGDSLibraryFactory( GetDebugGDSLibrary );
end.

Regards
Thomas Ellis
CISTECH