本文介绍了如何从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 此链接 [ ^ ] 给出了几个例子. 有关CP 用于过程检索的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任务管理器中获取运行文件名.
发布评论