Subject | RE: [IBO] Synchronize a DLL with TIB_Query |
---|---|
Author | Don Schoeman |
Post date | 2001-07-19T11:27:44Z |
Hi Melissa,
It is possible to pass Delphi object pointers to and from DLL's via exported
DLL functions. However, this is not common practice since it can cause many
problems and it immediately renders your DLL to a state where only
applications created with Delphi can use these functions. Using handles and
pointers to Delphi forms, it is very possible to have forms within DLL's
which can have data controls on them which can be used by your main
executable. This is also a bit risky and you will soon discover that it
becomes very complicated to manage all your resources properly.
If you are still in the design stage of your application and you are
thinking of splitting your application into multiple DLL's, I suggest that
you use DLL's simply as libraries. For instance, if your application
contains financial based calculation functions, you can put them into a
seperate DLL.
Best Regards,
Don Schoeman
-----Original Message-----
From: Melissa Go [mailto:sasa@...]
Sent: 19 July 2001 12:20
To: IBObjects@yahoogroups.com
Subject: [IBO] Synchronize a DLL with TIB_Query
Hi all,
I just have a question... Is it possible to create a DLL
and access an active TIB_Query or TIBOTable in another
application? I'd appreciate it if somebody could tell me
if this is possible and how to go about doing it.
TIA,
Sasa
Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
It is possible to pass Delphi object pointers to and from DLL's via exported
DLL functions. However, this is not common practice since it can cause many
problems and it immediately renders your DLL to a state where only
applications created with Delphi can use these functions. Using handles and
pointers to Delphi forms, it is very possible to have forms within DLL's
which can have data controls on them which can be used by your main
executable. This is also a bit risky and you will soon discover that it
becomes very complicated to manage all your resources properly.
If you are still in the design stage of your application and you are
thinking of splitting your application into multiple DLL's, I suggest that
you use DLL's simply as libraries. For instance, if your application
contains financial based calculation functions, you can put them into a
seperate DLL.
Best Regards,
Don Schoeman
-----Original Message-----
From: Melissa Go [mailto:sasa@...]
Sent: 19 July 2001 12:20
To: IBObjects@yahoogroups.com
Subject: [IBO] Synchronize a DLL with TIB_Query
Hi all,
I just have a question... Is it possible to create a DLL
and access an active TIB_Query or TIBOTable in another
application? I'd appreciate it if somebody could tell me
if this is possible and how to go about doing it.
TIA,
Sasa
Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/