Subject | IBObjects inside DLL |
---|---|
Author | D.F. |
Post date | 2001-09-18T17:00:20Z |
Hi All!
How can I write DLL with IBObject components inside?
I mean - I have MAIN application with DataModule
(with connection, transaction, queries, datasorces,...).
And I need some forms in DLL with, for example,
IB_Grid. So, how to link IB_Grid inside DLL with
IB_Query in MAIN application?
I tried to pass IB_Datasource into my DLL procedure
but when I assign DLLForm.MyGrid.DataSource := IBDS
I got an error about Invalid typecast.
Thanks in advance.
D.F.
How can I write DLL with IBObject components inside?
I mean - I have MAIN application with DataModule
(with connection, transaction, queries, datasorces,...).
And I need some forms in DLL with, for example,
IB_Grid. So, how to link IB_Grid inside DLL with
IB_Query in MAIN application?
I tried to pass IB_Datasource into my DLL procedure
but when I assign DLLForm.MyGrid.DataSource := IBDS
I got an error about Invalid typecast.
Thanks in advance.
D.F.