I need to create an OLE Automation Server which can look for another application(probably through the windows handle), check that the application is up and running, and then communicate commands to it (and be able to receive messages when necessary). Currently the application communicates with the control program (both are Delphi 4 programs) through posting and checking for text files. This, however, does not allow for the level of communciation necessary. If anyone has an example program that can do the following:
1. Locate an application and insure that it is running.
2. Send messages between the two programs.