How do you detect if a process is running by its name in Windows? In other words be able to input "program.exe" into a function and have it say if it is running.
Preferably in C++, but alternate languages are ok.
Yeah, if he has the source to both the detector and target programs, a uniquely named global mutex or semaphore would be better for seeing if the target is running.
>>39
In the environment I'm working in, that won't be a problem. Shitware will work just fine.
Name:
Anonymous2007-04-28 5:38 ID:2nCta9kV
>>43
Oh, so you're working in a corporate environment.
Name:
Anonymous2007-04-28 18:29 ID:PldhPHAO
>>44
More or less. Our computer networking class decided to structure the whole course on one project. Turning an existing computer lab into a cyber lounge. Through multiple domains it works well, but some video games don't lend themselves well to being executed over a network. Through a program making a temporary local copy, it will run correctly. It then waits quietly for the program to end (>>8) and cleans up its mess, saving any save games or profile data it needs to.