BorlandTalk.com Forum Index BorlandTalk.com
Borland discussion newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

DLL and Forms

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> C++ Builder (VCL)
View previous topic :: View next topic  
Author Message
Guest






PostPosted: Tue Jan 16, 2007 10:57 pm    Post subject: DLL and Forms Reply with quote



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
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> C++ Builder (VCL) All times are GMT
Page 1 of 1

 
Jump to:  
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


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.