Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

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

Posted on 1997-11-16
4
Medium Priority
?
156 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 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

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

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

Objective: - This article will help user in how to convert their numeric value become words. How to use 1. You can copy this code in your Unit as function 2. than you can perform your function by type this code The Code   (CODE) The Im…
Introduction I have seen many questions in this Delphi topic area where queries in threads are needed or suggested. I know bumped into a similar need. This article will address some of the concepts when dealing with a multithreaded delphi database…
Want to learn how to record your desktop screen without having to use an outside camera. Click on this video and learn how to use the cool google extension called "Screencastify"! Step 1: Open a new google tab Step 2: Go to the left hand upper corn…
We’ve all felt that sense of false security before—locking down external access to a database or component and feeling like we’ve done all we need to do to secure company data. But that feeling is fleeting. Attacks these days can happen in many w…
Suggested Courses

916 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