Subject Re: [IBO] DLL/BPL and app with lots of modules
Author Steve Fields
I passed the connection as...
ProcName(Conn : TIB_Connection);

and then in the DLL/Form I did :
MyQry.IB_Connection := Conn;

Won't this work? Or are you saying that I need to place a
TIB_Connection and TIB_Transaction IN the DLL/Form
and then link them as:
DLLConn.IB_Connection := Conn;
DLLTran.IB_Connection := Conn; ?

Daniel Rail wrote:

>Are you using a TIB_Connection just for your DLL? If not, then use a
>TIB_Connection and TIB_Transaction just for the DLL.
>Just to let you know that I've been using IBO in DLLs since June 2000. So,
>I should be able to help get into gear.
>Daniel Rail
>Senior System Engineer
>ACCRA Med Software Inc. (
>At 26/01/2002 10:01 PM, you wrote:
>>I guess I haven't got it all yet...
>>I have researched and found that if you use BPLs in your apps you need
>>to recompile
>>all of the related parts of an app to keep it working. With DLLs you
>>only have to watch
>>for changes in the calling params in the DLL routines. So, in my case,
>>the DLLs are
>>more desirable. But in trying this I still cannot get the AVs to go
>>away. I have tried each
>>of the ways mentioned above (Sessions in the DLL, etc.) but I have
>>noticed that the AV
>>only occurrs when I close the main app. Not when I close the DLL.
>>Am I still missing something? I set the create order where the session
>>is created first,
>>the query closes,and even set the link to the IB_Connection to null just
>>to get it out.
>>(Using TIB_Query, etc.) (Can't afford DreamCompany yet)
>>Steve Fields
>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

[Non-text portions of this message have been removed]