Solved

Interacting with a service

Posted on 2003-11-11
3
242 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

Technology Partners: 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

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…
Introduction I have seen many questions in this Delphi topic area where queries in threads are needed or suggested. I know bumped into a similar need. This article will address some of the concepts when dealing with a multithreaded delphi database…
NetCrunch network monitor is a highly extensive platform for network monitoring and alert generation. In this video you'll see a live demo of NetCrunch with most notable features explained in a walk-through manner. You'll also get to know the philos…
This is my first video review of Microsoft Bookings, I will be doing a part two with a bit more information, but wanted to get this out to you folks.

695 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