如何通过mfc应用程序查找正在运行的应用程序名称 [英] How to find running application names through a mfc application

查看:94
本文介绍了如何通过mfc应用程序查找正在运行的应用程序名称的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,

我有一个sdi mfc应用程序,我想知道系统中运行的应用程序的名称,如果计算器应用程序正在运行,那么它应该能够找到calc .exe。

我正在寻找一个能做到这一点的api。我尝试使用GetModuleFileName等但没有帮助。



谢谢

Hi all,
I have an sdi mfc application in which I want to know the names of the applications running in the system like if calculator application is running then it should be able to find the calc.exe .
I am looking for an api which does this . I tried with GetModuleFileName etc but didn't help.

thanks

推荐答案

参见https://msdn.microsoft.com/en-us/library/windows /desktop/ms633497(v=vs.85).aspx [ ^ ]。


这篇关于如何通过mfc应用程序查找正在运行的应用程序名称的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆