Subject Re: [IBO] Database & Session problem!
Author Jason Wharton
What I suggest you do is pass in the connection handle and allow each DLL to
have its own session.
Look at the dbHandleShared property of the TIB_Connection component.

HTH,
Jason Wharton
CPS - Mesa AZ
http://www.ibobjects.com


----- Original Message -----
From: <mikel@...>
To: <IBObjects@yahoogroups.com>
Sent: Wednesday, September 26, 2001 4:23 AM
Subject: [IBO] Database & Session problem!


>
> We develop our applications with BCB5 building one main EXE and many
> other DLL modules. Prior to use IBO, with BDE we have the same
> DefaultSession in all my modules but with IBO we have a different
> Sessions everyone DLLs.
> At main module we open several databases and then when i want to use
> this connected databases in other DLL this databases aren't accesible
> to the querys, i need to create a new database and connect it, and we
> lose long time.
> I view a TIB_Session's SetAlternateSession method, can i set a
> session of query object to session of main module database? how?
> Any suggestion please, thanks in advance, Mikel - BIGUN, S.L.