Solved

Interacting with a service

Posted on 2003-11-11
3
241 Views
Last Modified: 2010-04-05
Hi,
I'm making a windows service. I'm using Delphi 7 Studio running w2k.

I have a basic service loaded and running/started. I have made a systray application from where I would like to interact with my service.

How to do? It would be nice with some small code examples.

Thanks in advance

Flemming
0
Comment
Question by:dimatic
[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 Comments
 
LVL 12

Accepted Solution

by:
Lee_Nover earned 250 total points
ID: 9728910
for me the best way is to use TCP communication
this way you can also control your service remotely

simply put a TCP server component on your service module and handle the requests
from the client app just make calls to your service
if you'll have lots of communication with lots of different actions I suggest you use RemObjects - www.remobjects.com
has features such as compression, encryption, different transport mechanisms, RPC, ..

later I'll dig up some code from an older project and post it (using Indy) :)
0

Featured Post

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!

Question has a verified solution.

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

Suggested Solutions

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…
In my programming career I have only very rarely run into situations where operator overloading would be of any use in my work.  Normally those situations involved math with either overly large numbers (hundreds of thousands of digits or accuracy re…
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an antispam), the admini…
Are you ready to implement Active Directory best practices without reading 300+ pages? You're in luck. In this webinar hosted by Skyport Systems, you gain insight into Microsoft's latest comprehensive guide, with tips on the best and easiest way…

738 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