Solved

DDE between Delphi 2.0 and my application

Posted on 1998-05-14
6
240 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
6 Surprising Benefits of Threat Intelligence

All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

 
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

Do You Know the 4 Main Threat Actor Types?

Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

Join & Write a Comment

Creating an auto free TStringList The TStringList is a basic and frequently used object in Delphi. On many occasions, you may want to create a temporary list, process some items in the list and be done with the list. In such cases, you have to…
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…
When you create an app prototype with Adobe XD, you can insert system screens -- sharing or Control Center, for example -- with just a few clicks. This video shows you how. You can take the full course on Experts Exchange at http://bit.ly/XDcourse.
You have products, that come in variants and want to set different prices for them? Watch this micro tutorial that describes how to configure prices for Magento super attributes. Assigning simple products to configurable: We assigned simple products…

708 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

15 Experts available now in Live!

Get 1:1 Help Now