Title: myOffice Email Message
Gary asked:
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.  
Services are discouraged from interacting with the UI (as they have to run without a user session so things get tricky when they try to do foreground stuff) hence no Window handles to talk to.
 
If you want to talk to a service, other forms of IPC are best i.e. Mailslots, Named pipes, shared memory, etc. Named pipes and Mailslots are handy since they are network transparent so you can talk to a service instance on a remote server.
 
TTFN,
  Paul.
_______________________________________________
Delphi mailing list
[email protected]
http://ns3.123.co.nz/mailman/listinfo/delphi

Reply via email to