Subject Re: [IBO] Sharing IB connection between DLL's
Author Jason Wharton
This is possible. You need each DLL to have a TIB_Connection component and
then you pass to it the dbHandle to it's dbHandleShared property so that
each connection component can interact with the same connection handle.

Don't mix together component references across DLL boundaries though. This
is known to cause memory problems even when using ShareMem.

Jason Wharton
CPS - Mesa AZ

----- Original Message -----
From: "zeroptr" <burak.ozler@...>
To: <>
Sent: Thursday, May 16, 2002 11:37 PM
Subject: [IBO] Sharing IB connection between DLL's

Hi all

I'm building a Financial application so I have to separate the
modules to DLL's but, I don't want that all dll's use their own
connection. I make a connection on my main project and I want all
DLL's share the same connection.

√Ěs this possible and how??


IB Objects - direct, complete, custom connectivity to Firebird or InterBase
without the need for BDE, ODBC or any other layer.
___________________________________________________________________________ - your IBO community resource for Tech Info papers,
keyword-searchable FAQ, community code contributions and more !

Your use of Yahoo! Groups is subject to