How can I check to see if an executable is running?
Printable View
How can I check to see if an executable is running?
If you know its classname, you could use the FindWindow API.
Code:HWND hWindow = FindWindow("ClassName", "WindowText")
if( hWindow )
{
// Window found
}
I know about that way... but is there anyway to see if a specific executable is running...
What if it didnt have a window?