如何停止两个Win应用程序的运行? [英] How to stop two win application running?

查看:92
本文介绍了如何停止两个Win应用程序的运行?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

你好


一个Windows应用程序正在运行.然后,我们再次单击可执行文件.

现在,第二个应用程序将开始运行.我们如何才能阻止它?

Hello


One windows application is running. Then we click again on executable.

Now second appication will start running. How we can stop that?

推荐答案

请参见 http://iridescence.否/post/CreatingaSingleInstanceApplicationinC.aspx [ ^ ]


Google表示单个实例应用程序".
我认为在CodeProject上也有关于此的文章.
您必须真正学习如何搜索.
Google for "single instance application".
I think there are also some articles about this here on CodeProject.
You have to learn how to search, really.


同意上面的答案.
您应该在Google上搜索单个实例应用程序"
或"System.threading.Mutex"
Agree with the answers above.
you should google for "single instance application"
or "System.threading.Mutex"


这篇关于如何停止两个Win应用程序的运行?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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