如何知道服务是否在vc ++中运行? [英] How to know whether a service is running or not in vc++?

查看:59
本文介绍了如何知道服务是否在vc ++中运行?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何知道服务是否在vc ++中运行?我已经开发了MFC应用程序.并且正在使用服务应用程序来触发此MFC应用程序.
我想知道服务是否已经启动.如何在MFC应用程序中检查它.

How to know whether a service is running or not in vc++? I have developed a MFC application. and am using a service application to trigger this MFC application.
I want to know whether the service has been started or not. How to check it in the MFC application.

推荐答案

服务是普通的可执行文件.因此您可以检查exe是否正在运行
如何检查应用程序是否已在运行 [
Services are normal executables. so you can check whether an exe is running
How to check if an application is already running [^]


这篇关于如何知道服务是否在vc ++中运行?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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