【发布时间】:2012-08-23 04:31:34
【问题描述】:
我能够使用 rundll32.exe 运行 dll。
现在我想将它作为 Windows 服务运行,但它似乎没有启动并超时。
我不确定如何传递参数。
尝试类似..
sc.exe 创建服务 binPath="c:\windows\system32\rundll32.exe -test.dll -Main"
尝试来自的建议 creating a service with sc.exe; how to pass in context parameters 但它似乎不起作用。
有什么建议吗?
谢谢,
卡提克
【问题讨论】:
-
什么不起作用?您是否检查了服务控制小程序并查看了
service的命令行?
标签: windows winapi dll windows-services rundll32