I agree about using TCP.

We also use a component called TCiaService which allows us to still have a form that gets created but not shown if it's a service unless someone logs in (and then an icon appears in the system tray with a menu to do stuff like show the form). So you can still run the program as either a regular exe (you still get the icon) or automatically as a window service.

Phil.

Phil Scadden wrote:
Has anyone worked out a simple way to communicate to a Windows Service using windows messaging.  There appears to be a proprietary solution (Aldyn),
but I don't want to go down that track at this stage.
    

I generally communicate with shared memory block. For some applications
I use TCPServer for communications.

----------------------------------------------------------
Phil Scadden, Institute of Geological and Nuclear Sciences
764 Cumberland St, Private Bag 1930, Dunedin, New Zealand
Ph +64 3 4799663, fax +64 3 477 5232

_______________________________________________
Delphi mailing list
[email protected]
http://ns3.123.co.nz/mailman/listinfo/delphi



  
begin:vcard
fn:Phil Middlemiss
n:Middlemiss;Phil
org:Vision Software, MTS Ltd
email;internet:[EMAIL PROTECTED]
title:Project Leader
tel;work:+64 7 3480001
tel;cell:+64 27 4592648
x-mozilla-html:TRUE
url:http://www.tumonz.co.nz
version:2.1
end:vcard

_______________________________________________
Delphi mailing list
[email protected]
http://ns3.123.co.nz/mailman/listinfo/delphi

Reply via email to