Solved

DDE between Delphi 2.0 and my application

Posted on 1998-05-14
6
244 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
[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
  • 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
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Suggested Solutions

Have you ever had your Delphi form/application just hanging while waiting for data to load? This is the article to read if you want to learn some things about adding threads for data loading in the background. First, I'll setup a general applica…
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…
Nobody understands Phishing better than an anti-spam company. That’s why we are providing Phishing Awareness Training to our customers. According to a report by Verizon, only 3% of targeted users report malicious emails to management. With compan…

733 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