Board index » cppbuilder » Creating form in DLL

Creating form in DLL

I do not know how to create a form in DLL (or attach DLL to application)
that DLL won't close entire application when it's main form is being
closed. (Temporary solution is to create two forms, first just to
prevent this problem and use the second one.)

Second thing is probably more Win API question. How to disable upper
right "close" button of the form, that is just to become gray, not to
make form dialog or something that doesn't has those three buttons?

Thanks for help,

Bostjan Erzen

 

Re:Creating form in DLL


Hi, Bostjan!

I believe you can assign the application Application object to the DLL
Application object prior to creating your form. Search
http://www.deja.com for "TApplication" and you may find some of the
threads on the subject.

------
Mark Cashman (TeamB - C++ Builder), creator of The Temp{*word*203}Doorway at
http://www.temporaldoorway.com
- Original digital art, writing, music and more -
C++ Builder / JBuilder Tips and The C++ Builder Programmer's Webring
(Join us!)
http://www.temporaldoorway.com/programming/index.htm
------

Other Threads