Categories: MSDN / DotNet / Java / Scripts / Linux / PHP Ask - La ask - La Answer

How To List Running Processes

Hi
I want to list the names of the running processes. I want to know if a specific process is running.
I'm using : Microsoft Visual C++ .NET
Thanks
[180 byte] By [fournij] at [2007-11-11 7:26:49]
# 1 Re: How To List Running Processes
other specifications :

- It's a MFC project
fournij at 2007-11-11 21:02:15 >
# 2 Re: How To List Running Processes
Take a look at Sysinternals.com
kvwood at 2007-11-11 21:03:26 >
# 3 Re: How To List Running Processes
Sorry I don't see any source code about listening process running at sysinternals.com

:(
fournij at 2007-11-11 21:04:18 >
# 4 Re: How To List Running Processes
If this is a coding exercise, look up PSAPI on MSDN.

If you want to list the processes, and aren't required to create the code yourself, Sysinternals provides command line (PsList), and GUI-based (Process Explorer) tools that you can download.
kvwood at 2007-11-11 21:05:24 >