Subject | RE: [IBO] DLL/BPL and app with lots of modules |
---|---|
Author | Riho-Rene Ellermaa |
Post date | 2002-01-29T07:11:15Z |
I'm using dynamically loaded BPL's in my project (I used DLL's with BCB4
and IBO3.6, but got crashes when closing DLL's, so I decided to rewrite
it.)
I use handle sharing.
In main module I open connection to database. When I call my OpenForm()
function in BPL, I pass IBConn->dbHandle as parameter. In BPL I set
DModule->IB_Conn->dbHandleShared=dbHandle.
Riho-Rene Ellermaa
senior programmer
Hansabank
and IBO3.6, but got crashes when closing DLL's, so I decided to rewrite
it.)
I use handle sharing.
In main module I open connection to database. When I call my OpenForm()
function in BPL, I pass IBConn->dbHandle as parameter. In BPL I set
DModule->IB_Conn->dbHandleShared=dbHandle.
Riho-Rene Ellermaa
senior programmer
Hansabank