开发者

How to count the number of threads in every process in Windows using MFC

开发者 https://www.devze.com 2023-03-08 16:00 出处:网络
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.

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 开发者_StackOverflow中文版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.

0

精彩评论

暂无评论...
验证码 换一张
取 消