Solved

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

Posted on 1997-11-16
4
146 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

ScreenConnect 6.0 Free Trial

Discover new time-saving features in one game-changing release, ScreenConnect 6.0, based on partner feedback. New features include a redesigned UI, app configurations and chat acknowledgement to improve customer engagement!

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
code issue 8 130
Error E2158 compiling with Delphi XE10 Seattle 2 100
Performance of SQL statement 37 111
Delphi Yen format 3 34
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…
This Micro Tutorial hows how you can integrate  Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease. The following video show how to bind OSX Mavericks to …
In a recent question (https://www.experts-exchange.com/questions/28997919/Pagination-in-Adobe-Acrobat.html) here at Experts Exchange, a member asked how to add page numbers to a PDF file using Adobe Acrobat XI Pro. This short video Micro Tutorial sh…

772 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