In C #, I know how to run a .NET executable from code, and also find out if an instance of an executable is running. I would like to do if an instance is already running, get an instance of the object Fooin the C # code of another executable file.
I have a Windows application (e.g. .NET version in Outlook). The user can use the application as usual, but also works in the background - this is a process that watches an XML file from a third-party system.
I need the observer process to run the .NET program if it is not running (or get the handle, if any), and then call the CreateEmailobject instance method in a new / existing process.
source
share