 |
BorlandTalk.com Borland discussion newsgroups
|
| View previous topic :: View next topic |
| Author |
Message |
Guest
|
Posted: Tue Jan 16, 2007 10:57 pm Post subject: DLL and Forms |
|
|
I have a Main program and a DLL. The DLL contains a VCL form. Both
program and the dll are generated with bcb 5.
If I create the form in the DLL, an unwanted button shows in the
taskbar. Now I pass the Application object of the Main program to the
DLL, and I overwrite it. It seem to work fine, but I need
- an "Init" funcion to pass the Application Object
- a function to create the form
- a function to destroy the form and restore the old Application
Object.
1. Change the Application Object is the right thing to do? Or is
somehow "dangerous"?
2. Is there a better way? |
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|