[Last Call] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

DDE comunication between service app and desktop app

Posted on 2005-04-28
6
Medium Priority
?
279 Views
Last Modified: 2010-04-05
Hi...,
I've made service application and desktop application, what  I want to do make my service application
send a command (string variable) to my desktop application. I've used dde, and already set "Allow service to interact with desktop" in the windows service properties , but this situation is not works', it alway try to open the program and not send the command.

Anyone can give an example how to make those difference type of application communicate?

Thanks
sirro
0
Comment
Question by:sirro
  • 3
  • 3
6 Comments
 

Author Comment

by:sirro
ID: 13892379
Is there any other mechanisme for inter process communication between service application and desktop application besides dde.

Thanks
0
 
LVL 4

Expert Comment

by:BedouinDN
ID: 13902308
Hi there.

What about using Windows.SendMessage to communicate between the apps?

I have found a free to use/distribute component written by Troels Jakobsen with source code and examples of use that does this quite well, if you want it, I can email this to you.

Regards..

Colin..
0
 

Author Comment

by:sirro
ID: 13908532

hello BedouinDN ..., it seems interensting, of course I'm want it, because till this time,I still have no solution for the problem, would you like to send the component you mean in my email at: rossi@intramedian.com

Thanks
0
VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

 
LVL 4

Expert Comment

by:BedouinDN
ID: 13916139
Hi there.

I am getting the following error trying to send to that email address:


Hi. This is the qmail-send program at build.techscape8.com.
I'm afraid I wasn't able to deliver your message to the following addresses.
This is a permanent error; I've given up. Sorry it didn't work out.

<rossi@intramedian.com>:
Mail quota exceeds 5000 kilobytes.
0
 

Author Comment

by:sirro
ID: 13924168
Oh I'm really sorry...,
would you mind sending it agin on rossilazuardi@yahoo.com

Thanks.

0
 
LVL 4

Accepted Solution

by:
BedouinDN earned 800 total points
ID: 13964671
Hi there.

Did you get the components working?

I have used the code in a service application talking to a control application without any issues.

Regards.
Colin.
0

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone 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

This article explains how to create forms/units independent of other forms/units object names in a delphi project. Have you ever created a form for user input in a Delphi project and then had the need to have that same form in a other Delphi proj…
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…
Please read the paragraph below before following the instructions in the video — there are important caveats in the paragraph that I did not mention in the video. If your PaperPort 12 or PaperPort 14 is failing to start, or crashing, or hanging, …
Despite its rising prevalence in the business world, "the cloud" is still misunderstood. Some companies still believe common misconceptions about lack of security in cloud solutions and many misuses of cloud storage options still occur every day. …
Suggested Courses

831 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