Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

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

Posted on 1997-11-16
4
Medium Priority
?
153 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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 1800 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

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

Question has a verified solution.

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

The uses clause is one of those things that just tends to grow and grow. Most of the time this is in the main form, as it's from this form that all others are called. If you have a big application (including many forms), the uses clause in the in…
Hello everybody This Article will show you how to validate number with TEdit control, What's the TEdit control? TEdit is a standard Windows edit control on a form, it allows to user to write, read and copy/paste single line of text. Usua…
Add bar graphs to Access queries using Unicode block characters. Graphs appear on every record in the color you want. Give life to numbers. Hopes this gives you ideas on visualizing your data in new ways ~ Create a calculated field in a query: …
Sometimes it takes a new vantage point, apart from our everyday security practices, to truly see our Active Directory (AD) vulnerabilities. We get used to implementing the same techniques and checking the same areas for a breach. This pattern can re…
Suggested Courses

688 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