Solved

DDE between Delphi 2.0 and my application

Posted on 1998-05-14
6
241 Views
Last Modified: 2010-04-06
How could I establish conversation between my application (written of course in Delphi) and Delphi 2.0 itself. My goal would be adding of the units to the project, oppening of the project or starting some menu in Delphi. I managed to communicate to Excel and between two Delphi applications.
0
Comment
Question by:smico
  • 3
  • 3
6 Comments
 

Author Comment

by:smico
ID: 1345752
Adjusted points to 100
0
 
LVL 1

Expert Comment

by:ssite
ID: 1345753
What do you need to do exactly. Delphi provides you the tools api avail through the toolservices object.
0
 

Author Comment

by:smico
ID: 1345754
I'm running my application through Delphi's Tools menu, sending current token as parameter. I would like this application to, for example, add something to uses clause of the currently opened Delphi unit, close this unit, make another unit active, or add some unit to the currently opened project.
At the moment my application is changing saved files (.pas and .dpr) which leads to several problems as corrupted .dpr files due to Delphi's caching and unconvinient updating dialogs just after changing of files.
Hope this will describe my goal better.
Best regards from Mico.
0
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 
LVL 1

Accepted Solution

by:
ssite earned 100 total points
ID: 1345755
You should use the net and various delphi sites (super page, torry) to download some examples of delphi "experts" (no connection to this site). There're also some examples in your delphi 3 directory. The expert will let you use the toolservices object to do all you need.
0
 

Author Comment

by:smico
ID: 1345756
I would if I've had Delphi 2.0 VCL source.
I will dag on other sites to find some of the "expert" source.
Thank you for your help.
Mico
0
 
LVL 1

Expert Comment

by:ssite
ID: 1345757
If you need any code from the vcl, I'll e-mail you. let me know.
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Filemaker 14 vs Delphi Embarcadero 7 186
Reading complex type element repeats first one found several times 3 41
Sending Gmail through Delphi 3 91
Dev Express grid collapse 2 39
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 Raise your hands if you were as upset with FireMonkey as I was when I discovered that there was no TListview.  I use TListView in almost all of my applications I've written, and I was not going to compromise by resorting to TStringGrid…
This Micro Tutorial will teach you how to censor certain areas of your screen. The example in this video will show a little boy's face being blurred. This will be demonstrated using Adobe Premiere Pro CS6.
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 …

863 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

24 Experts available now in Live!

Get 1:1 Help Now