Original Post
How would I detect whether or not a given application is running? I looked at the OpenProcess() function, hoping that it would work. Unfortunately, OpenProcess() requires a specific process ID #, which I don''t know how to provide.
The reason I am doing this is that I want only one instance of my application to run at any given time. Thus, I want to see if an instance of the program is running before I allow a new one to start.
Thanks,
Mike