Solved

Making the Main Form and Forms in DLLs look like one!

Posted on 1997-11-16
4
147 Views
Last Modified: 2010-07-27
I have two programs, the first one is an .exe, the second is a DLL.  The .exe calls a function inside the DLL that creates a form (or a panel) that is apart of the DLL. but is created on the main .exe form (in the case of a panel) or in the main window of the .exe (in the case of a form).  I need an example of the full function on the .exe side as well as the full DLL code.
0
Comment
Question by:rwild
  • 2
4 Comments
 
LVL 5

Expert Comment

by:JimBob091197
ID: 1350712
Hi

I have answered a couple of questions regarding creating components inside DLLs, and there are a few things to watch out for.  If you provide your e-mail address I can mail you some samples from previous questions.  Alternatively you can look at some previous questions I have answered, particularly the one entitled "DESPERATE: Assigning Panel.Parent in DLL"

Also specify what version of Delphi you are using because there are differences between D2 & D3.

Regards,
JB
0
 

Author Comment

by:rwild
ID: 1350713
JimBob, My Email address is rwild@agt.net
0
 
LVL 5

Accepted Solution

by:
JimBob091197 earned 450 total points
ID: 1350714
Hi

The answer involves using MyDllControl.ParentWindow := MyExeForm.Handle;

JB
0
 

Expert Comment

by:alinepb
ID: 4848803
I need the same samples :

silvamv@ig.com.br

Thank's
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

A lot of questions regard threads in Delphi.   One of the more specific questions is how to show progress of the thread.   Updating a progressbar from inside a thread is a mistake. A solution to this would be to send a synchronized message to the…
Creating an auto free TStringList The TStringList is a basic and frequently used object in Delphi. On many occasions, you may want to create a temporary list, process some items in the list and be done with the list. In such cases, you have to…
Established in 1997, Technology Architects has become one of the most reputable technology solutions companies in the country. TA have been providing businesses with cost effective state-of-the-art solutions and unparalleled service that is designed…
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…

837 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question