| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Display Modes |
|
|
|
Ajax Application Generator Generate database and reporting .NET Web apps in minutes. Quickly create visually stunning, feature-rich apps that are easy to customize and ready to deploy. Download Now!
|
|
#1
|
|||
|
|||
|
I have been searching the internet looking for a simple example of how to retrieve the processes running on a windows machine using either c or c++. I have yet to find a code example that I can get to compile on my machine.
Does anyone out there have an extremely easy example of how to retrieve the running processes? If it matters I also want to eventually be able to retrieve cpu usage, and memory usage of those processes. But for now I will settle for just the names. BTW, I am using Dev-C++ as my compiler and IDE if it makes a difference. Of course this is an educated guess but, I think I have access to the win32 API but not MFC. Thanks in advance, BlackCatt |
|
#2
|
|||
|
|||
|
This link should provide the resources you need:
http://www.codeguru.com/win32/ps.shtml
__________________
__________________________________________________ _ Wil Moore III, MCP | Integrations Specialist | Senior Consultant Are You Listed...? | DigitallySmooth Inc. |
|
#3
|
|||
|
|||
|
That might just work. Hopefully I can get it to compile correctly so I can figure it out.
Thanks ![]() |
![]() |
| Viewing: Dev Articles Community Forums > Programming > C/C++ Help > Simple example to retrieve running processes using C++ |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|