View all running processes, C++

Please support our C++ advertiser: Intel Parallel Studio Home
Reply

Join Date: Jul 2005
Posts: 6
Reputation: 3nCrypti0n is an unknown quantity at this point 
Solved Threads: 0
3nCrypti0n 3nCrypti0n is offline Offline
Newbie Poster

View all running processes, C++

 
0
  #1
Jul 15th, 2005
Is there an API to view all running processes?

Thanks
Reply With Quote Quick reply to this message  
Join Date: Mar 2004
Posts: 1,620
Reputation: kc0arf is a jewel in the rough kc0arf is a jewel in the rough kc0arf is a jewel in the rough 
Solved Threads: 51
Team Colleague
kc0arf kc0arf is offline Offline
Posting Virtuoso

Re: View all running processes, C++

 
0
  #2
Jul 15th, 2005
Hi,

Depends on what OS you are working with. Processes belong to the Operating System, not to the C++ environment.

For example, I could look at my linux processes by making a system call to the OS, and asking it to execute the PS command.

Christian
Reply With Quote Quick reply to this message  
Join Date: Jul 2005
Posts: 6
Reputation: 3nCrypti0n is an unknown quantity at this point 
Solved Threads: 0
3nCrypti0n 3nCrypti0n is offline Offline
Newbie Poster

Re: View all running processes, C++

 
0
  #3
Jul 15th, 2005
Im working with Windows XP. I found a code example on msdn but it was for .NET and im using DevC++.
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:



Similar Threads
Other Threads in the C++ Forum
Thread Tools Search this Thread



Tag cloud for C++
About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC