Subject | Database & Session problem! |
---|---|
Author | mikel@bigun.com |
Post date | 2001-09-26T11:23:34Z |
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.
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.