<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD><TITLE>myOffice Email Message</TITLE>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content=2002-11-01 name=date>
<STYLE type=text/css></STYLE>
<META content="MSHTML 6.00.2900.2802" name=GENERATOR></HEAD>
<BODY>
<DIV><SPAN class=820003904-11042006><FONT face=Arial color=#0000ff size=2>Gary
asked:</FONT></SPAN></DIV>
<BLOCKQUOTE
style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #0000ff 2px solid">
<DIV class=OutlookMessageHeader dir=ltr align=left><SPAN
style="FONT-FAMILY: MS Sans Serif">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.</SPAN> <SPAN class=820003904-11042006><FONT face=Arial
color=#0000ff size=2> </FONT></SPAN></DIV></BLOCKQUOTE>
<DIV class=OutlookMessageHeader align=left><SPAN class=820003904-11042006><FONT
face=Arial color=#0000ff size=2>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.</FONT></SPAN></DIV>
<DIV class=OutlookMessageHeader align=left><SPAN class=820003904-11042006><FONT
face=Arial color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV class=OutlookMessageHeader align=left><SPAN class=820003904-11042006><FONT
face=Arial color=#0000ff size=2>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.</FONT></SPAN></DIV>
<DIV class=OutlookMessageHeader align=left><SPAN class=820003904-11042006><FONT
face=Arial color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV class=OutlookMessageHeader align=left><SPAN class=820003904-11042006><FONT
face=Arial color=#0000ff size=2>TTFN,</FONT></SPAN></DIV>
<DIV class=OutlookMessageHeader align=left><SPAN class=820003904-11042006><FONT
face=Arial color=#0000ff size=2> Paul.</FONT></SPAN></DIV><FONT face=arial
color=navy size=1></FONT></BODY></HTML>