正在检测运行. [英] Detecting run.

查看:149
本文介绍了正在检测运行.的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何检测到某个进程正在尝试启动,以及如何禁止该进程从我的应用程序中运行?该应用程序是在MFC中构建的.

How can I detect that a process is trying to start and how can I disallow it to run from my application? That aplpication is built in MFC.

推荐答案

使用窗口挂钩可以实现此目的.
http://msdn.microsoft.com/en-us/library/ms644990 [ ^ ]

为特定的exe名称(例如explorer.exe)创建窗口服务.
using the window hook you can achieve this things.
http://msdn.microsoft.com/en-us/library/ms644990[^]
or
create window service for particular exe name like explore.exe.


这篇关于正在检测运行.的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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