[Last Call] Learn about multicloud storage options and how to improve your company's cloud strategy. Register Now

x
?
Solved

Interacting with a service

Posted on 2003-11-11
3
Medium Priority
?
245 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 1000 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

Hire Technology Freelancers with Gigs

Work with freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely, and get projects done right.

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…
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 this video, Percona Solution Engineer Dimitri Vanoverbeke discusses why you want to use at least three nodes in a database cluster. To discuss how Percona Consulting can help with your design and architecture needs for your database and infras…
In a question here at Experts Exchange (https://www.experts-exchange.com/questions/29062564/Adobe-acrobat-reader-DC.html), a member asked how to create a signature in Adobe Acrobat Reader DC (the free Reader product, not the paid, full Acrobat produ…
Suggested Courses

650 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