Solved

Interacting with a service

Posted on 2003-11-11
3
236 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
3 Comments
 
LVL 12

Accepted Solution

by:
Lee_Nover earned 250 total points
Comment Utility
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

Top 6 Sources for Identifying Threat Actor TTPs

Understanding your enemy is essential. These six sources will help you identify the most popular threat actor tactics, techniques, and procedures (TTPs).

Join & Write a Comment

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…
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…
Internet Business Fax to Email Made Easy - With eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…
This video explains how to create simple products associated to Magento configurable product and offers fast way of their generation with Store Manager for Magento tool.

728 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

Need Help in Real-Time?

Connect with top rated Experts

9 Experts available now in Live!

Get 1:1 Help Now