本文介绍了ShellExecuteEx()创建在不同帐户下运行的服务的两个实例的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
调用服务时遇到问题.我正在使用ShellExecuteEx()创建服务. ShellExecuteEx()正在创建服务的两个实例.一个实例正在SYSTEM下运行.第二个实例正在登录帐户下运行.我可以在任务管理器中看到它们.
预期的行为是:ShellExecuteEx()应该只创建一个服务实例.
谁能为我提供一些解决方案?任何帮助将不胜感激.
谢谢,Sunil
I am getting a problem while invoking a service. I am using ShellExecuteEx() to create a service. ShellExecuteEx() is creating two instances of service. One instance is running under SYSTEM. 2nd instance is running under login account. I can see them in task manager.
Expected behaviour is : ShellExecuteEx() should create only one instance of service.
Can anyone provide me some solution for this? Any help would be appreciated.
Thanks, Sunil
推荐答案
这篇关于ShellExecuteEx()创建在不同帐户下运行的服务的两个实例的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!