title: How to pass string between 2 Delphi applications
body: <blockquote>
    <p><strong>Possible Duplicate:</strong><br>
    <a href="https://stackoverflow.com/questions/360289/looking-for-an-alternative-to-windows-messages-used-in-inter-process-communicati">Looking for an alternative to windows messages used in inter-process communication</a><br>
    <a href="https://stackoverflow.com/questions/4088776/inter-process-communication">Inter-process communication</a>  </p>
  </blockquote>
  
  
  
  <p>I have a Delphi 7 App running that exposes a Type Library.  One of the function the TLB exposes is ProcessFile(fileName: string).  When that function is called I would like a Windows Service running (also a Delphi 7 application) to get notified that this event was called and what the filename is.</p>
  
  <p>Any thoughts on how to do this would be much appreciated.  I have already tried to do this via changed callbacks using the registry and a txt file, but either way I occasionally lose a file that is to be processed as this ProcessFile method can be called many times a second.</p>
  
  <p>Thanks!</p>