Subject Default Session or Connection in DLL
Author rogervellacott
I pass a TIBODatabase object "DB" as a parameter to a DLL. If I
explicitly set the IB_Connection property of any queries in the DLL
to this, then it all works fine, and there is only one connection to
the database. If I don't connect each query explicitly, then I get an
error - no connections.

In the EXE, the first-created IBODatabase object is taken as the
default connection, and its session as the default session, so I
don;t have to laboriously declare it on each query.

Is there any way that I can tell the DLL to use the DBParam as the
default?

Roger Vellacott