开发者

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

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜