title: What is the preferred method of passing data between a service and an application
body: <blockquote>
    <p><strong>Possible Duplicate:</strong><br>
    <a href="https://stackoverflow.com/questions/1260181/delphi-2009-how-to-communicate-between-windows-service-desktop-application-und">Delphi 2009: How to communicate between Windows service &amp; desktop application under Vista?</a>  </p>
  </blockquote>
  
  <p>I have a server running as a Windows service. To control the service and to display it's state I have an application running as a tray icon. I would like to pass data (log strings) from the service to the application. </p>
  
  <p>What's the best way to do this?</p>