Solved

DDE between Delphi 2.0 and my application

Posted on 1998-05-14
6
242 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
Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

 
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

3 Use Cases for Connected Systems

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, testing some more, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us.

Question has a verified solution.

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

Introduction The parallel port is a very commonly known port, it was widely used to connect a printer to the PC, if you look at the back of your computer, for those who don't have newer computers, there will be a port with 25 pins and a small print…
In this tutorial I will show you how to use the Windows Speech API in Delphi. I will only cover basic functions such as text to speech and controlling the speed of the speech. SAPI Installation First you need to install the SAPI type library, th…
This tutorial gives a high-level tour of the interface of Marketo (a marketing automation tool to help businesses track and engage prospective customers and drive them to purchase). You will see the main areas including Marketing Activities, Design …
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…

777 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