GIDForums  

Go Back   GIDForums > Computer Programming Forums > C++ Forum
User Name
Password
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

 
 
Thread Tools Search this Thread Rate Thread
  #1  
Old 09-Oct-2005, 15:05
stormlab stormlab is offline
New Member
 
Join Date: Sep 2005
Posts: 20
stormlab is on a distinguished road

How to know when some program is running.


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.

Thanks for any ideas.

Angel
  #2  
Old 10-Oct-2005, 01:40
Paramesh's Avatar
Paramesh Paramesh is offline
Regular Member
 
Join Date: Sep 2005
Location: The Milky Way
Posts: 929
Paramesh is a jewel in the roughParamesh is a jewel in the roughParamesh is a jewel in the rough

Re: How to know when some program is running.


hi Angel,

Visit this link. It has information about how to check a process running in the task manager and also how to hack the task manager(!!!!)
Hacking the Windows Task manager

Paramesh.
__________________

Don't walk in front of me, I may not follow.
Don't walk behind me, I may not lead.
Just walk beside me and be my friend.
  #3  
Old 11-Oct-2005, 08:15
stormlab stormlab is offline
New Member
 
Join Date: Sep 2005
Posts: 20
stormlab is on a distinguished road

Re: How to know when some program is running.


Hi,

Thanks for the keywords. I think I found it!

Angel
 
 

Recent GIDBlogVista ?Widgets? on Windows XP by LocalTech

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem: Running w32 program launches command prompt? esaikku C++ Forum 4 05-Aug-2005 04:30
running medial player within a c++ program shvalb MS Visual C++ / MFC Forum 0 15-Jul-2005 08:06
ok i got my i/o stream program running and almost done... Chris In VA C++ Forum 2 10-Mar-2005 09:00

Network Sites: GIDNetwork · GIDWebHosts · GIDSearch · Learning Journal by J de Silva, The

All times are GMT -6. The time now is 11:36.


vBulletin, Copyright © 2000 - 2010, Jelsoft Enterprises Ltd.