如何从任务管理器中删除正在运行的exe [英] How to kill a running exe from task manager

查看:598
本文介绍了如何从任务管理器中删除正在运行的exe的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

亲爱的朋友们,



我开发了一个窗口应用程序。当我以前用来关闭应用程序的exe时,内存错误就扔掉了。之后我做了它关闭使用任务管理器。现在我想在关闭时从任务管理器中删除exe。



如何使用其名称匹配正在运行的进程?

任何人都可以帮助我..我会感谢你的帮助..



提前感谢

Dear Friends,

I have developed a window application.when ever i used to close the exe of the application,memory error throwned.after that i make it close by using task manager.now i want to kill the exe from the task manager whenever i closed.

how to match the running process using its name?
can anyone help me ..i will be thanksful to you for this help..

thanks in advance

推荐答案

而不是试图杀死一个进程,我会努力解决内存问题!
Instead of screwing around trying to kill a process, I''d put your effort into fixing the memory problem!


你可以使用处理诊断类 [ ^ ]。



以下是一些例子 -

< a href =http://www.dotnetperls.com/kill> http://www.dotnetperls.com/kill [ ^ ]

http://alperguc.blogspot.in/2008/11/c-process-processgetprocessesbyname.html [ ^ ]
You can use the Process Diagnostic class[^].

Here are some examples -
http://www.dotnetperls.com/kill[^]
http://alperguc.blogspot.in/2008/11/c-process-processgetprocessesbyname.html[^]


这篇关于如何从任务管理器中删除正在运行的exe的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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