Solved

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

Posted on 1997-11-16
4
141 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
Comment Utility
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
Comment Utility
JimBob, My Email address is rwild@agt.net
0
 
LVL 5

Accepted Solution

by:
JimBob091197 earned 450 total points
Comment Utility
Hi

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

JB
0
 

Expert Comment

by:alinepb
Comment Utility
I need the same samples :

silvamv@ig.com.br

Thank's
0

Featured Post

What Should I Do With This Threat Intelligence?

Are you wondering if you actually need threat intelligence? The answer is yes. We explain the basics for creating useful threat intelligence.

Join & Write a Comment

In this tutorial I will show you how to use the Windows Speech API in Delphi. I will only cover basic functions such as text to speech and controlling the speed of the speech. SAPI Installation First you need to install the SAPI type library, th…
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…
Internet Business Fax to Email Made Easy - With eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…
Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…

728 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

Need Help in Real-Time?

Connect with top rated Experts

9 Experts available now in Live!

Get 1:1 Help Now