如何从Window 7任务管理器中获取运行文件名.

编程入门 行业动态 更新时间:2024-10-27 19:21:12
本文介绍了如何从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任务管理器中获取运行文件名.

本文发布于:2023-11-13 12:23:54,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1584351.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:文件名   任务管理器   Window

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!