Subject Share database over packages
Author dominikmurk
Hi,

I was using IBO for 12years. Last 8 years I was using IBO 4.2Hi with Firebird 1.X and Delphi 6.
Now I try to transfer my delphi program to
IBO 4.9.7RC and Delphi 2009.

Here is the problem:
-in Delphi 6 and IBO4.2 i have main program with IB_Connection1 in datamodule. Then I have package also with datamodule but new IB_Connection2. When I LoadPackage then I assign IB_Connection2.dbHandleShared := IB_Connection1.dbHandleShared. After that I can use IB_Connection2 in loaded package with no problems.
Where I try to do that in IBO 4.9.7RC and Delphi 2009 I get error and IB_Connection2 is not connected (actualy, I don't get error on this
line IB_Connection2.dbHandleShared := IB_Connection1.dbHandleShared but when i try to use this IB_Connection2 in package).

Can someone help me with this?

Dominik