I want to build a task manager like application using MFC. I have already succeeded in enumerating the various processes running currently their PIDs and memory usage.
My problem is that i also want to obtain the number of threads each process has running.
You can do that (and many more related things) with the Tool helper library (win32) by taking a process snapshot then walking
Thread32First/Next.