Pass TDatabase to DLL (Delphi 1.0)


In Delphi 3.0, we can pass TDatabase's handle from main EXE to DLL.
However, this trick won't work in Delphi 1.0 because TDatabase's handle
property in Delphi 1.0 is read only.

Does anybody know how to pass TDatabase from main EXE to DLL in Delphi
1.0? (Or should I subclass TDatabase.) Thanks.

* Atsawin Chowanakritsanakul
* Thasala Suzuki Co., Ltd. Nakhon Si Thammarat, Thailand
* Work: +66 75 521123, Home: +66 75 330124