Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Loading DLL forms in main app

Status
Not open for further replies.

T1ck

Programmer
Jan 28, 2005
6
0
0
GB
Hi,

I have an application and a number of dlls all written in BCB6.
The problem that i have is that each form in the dlls that are called from
the main application all open as separate windows/instances on the taskbar instead
of all just being one application. How do i make them all just one instance?

Currently the dlls are all called dynamically using LoadLibrary() and GetProcAddress()
and all forms in the dll are built at design time and called dynamically in the form of

TForm1 *frm = new TForm1(0);
frm->ShowModal();
delete frm;

I've tried setting the owner as Application but still get the same result

Most of the forms in the dlls that are called directly from the application
are fsNormal which is the way they need to stay

Any ideas anyone?
Thx in advance
 
Hasn't anyone got ideads at all?

Could really do with any help that you can offer :)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top