Solved

DDE between Delphi 2.0 and my application

Posted on 1998-05-14
6
245 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
Independent Software Vendors: 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

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

A lot of questions regard threads in Delphi.   One of the more specific questions is how to show progress of the thread.   Updating a progressbar from inside a thread is a mistake. A solution to this would be to send a synchronized message to the…
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…
In this brief tutorial Pawel from AdRem Software explains how you can quickly find out which services are running on your network, or what are the IP addresses of servers responsible for each service. Software used is freeware NetCrunch Tools (https…
Do you want to know how to make a graph with Microsoft Access? First, create a query with the data for the chart. Then make a blank form and add a chart control. This video also shows how to change what data is displayed on the graph as well as form…

691 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