[DUG] TService and Windows Messaging
Paul Heinz
paul at accredo.co.nz
Tue Apr 11 16:42:54 NZST 2006
myOffice Email MessageGary 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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://ns3.123.co.nz/pipermail/delphi/attachments/20060411/60266511/attachment.html
More information about the Delphi
mailing list