I am writing a Windows C++ program using MSVC++5.0 Professional Edition. Right now my code is basically just:
int WinMain .......
And then about five lines of code in the body. What I need to do is add a few more lines of code to determine if a program is already running or not. I need some code that will check to see if a program is running or not.