Subject | Passing an IB_Connection to a dll function |
---|---|
Author | Robert martin |
Post date | 2004-11-04T04:37:19Z |
Hi All
In our app we have an ability to call a Dll function each time and
transaction is processed. Under Dbase we just connected to the database for
a second time, under Firebird this would require another connection (which
can be slow). We want to avoid this, can a Ib_Connection be passed to a dll
function?
If that is possible, is there any problem if it is passed from a thread in
the main application?
Rob Martin
Software Engineer
phone 03 377 0495
fax 03 377 0496
web www.chreos.com
Wild Software Ltd
In our app we have an ability to call a Dll function each time and
transaction is processed. Under Dbase we just connected to the database for
a second time, under Firebird this would require another connection (which
can be slow). We want to avoid this, can a Ib_Connection be passed to a dll
function?
If that is possible, is there any problem if it is passed from a thread in
the main application?
Rob Martin
Software Engineer
phone 03 377 0495
fax 03 377 0496
web www.chreos.com
Wild Software Ltd