How to know when some program is running

Status
Not open for further replies.

mhamini

Member level 1
Joined
Aug 23, 2005
Messages
40
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,286
Location
Iran-Tehran
Activity points
1,690
Hello,

I want to create a progress bar. For this task I want to know when one program is running:

while(some_program.exe is running)
{
do something;
}

I can see the some_program.exe in the Task Manager of W2K but I don't know how to find if the program is running from C++ program.
 


Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…