如何从Window 7任务管理器中获取运行文件名. [英] how to fetch running file name from Window 7 task manager.
本文介绍了如何从Window 7任务管理器中获取运行文件名.的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
你好,
我需要制作一个能够读取计算机上执行的当前任务名称的c程序,但无法完成该任务.
谢谢.
Hello,
I need to make a c program that is capable of reading the current task name peformed on computer, but I am unable to reach that task.
Thank you.
推荐答案
可以在C代码中使用Win32 API来获取此类信息.
Chekout 此链接 [用于过程检索的Win32 API [ ^ ].
有关更多信息,您可以在Google上搜索"InitToolhelp32".
MSDN具有 C ++中的示例 [ ^ ]
希望这对您有帮助!
Win32 API can be used in C code to get such information.
Chekout this link[^]
several examples are given.
An informative C++ article on CP Win32 APIs for Process Retrieval[^].
For more info, you can google for ''InitToolhelp32''.
MSDN has an example in C++[^]
hope this helps!!
这篇关于如何从Window 7任务管理器中获取运行文件名.的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文