gpt4 book ai didi

windows - 使用 rundll32.exe 作为 Windows 服务运行 dll

转载 作者:可可西里 更新时间:2023-11-01 11:58:51 24 4
gpt4 key购买 nike

我能够使用 rundll32.exe 运行一个 dll。

现在我想将它作为 Windows 服务运行,但它似乎没有启动并且超时。

我不确定如何传递参数。

尝试一些类似 ..

sc.exe create service binPath= "c:\windows\system32\rundll32.exe -test.dll -Main"

尝试来自的建议 creating a service with sc.exe; how to pass in context parameters但它似乎不起作用。

有什么建议吗?

谢谢,

卡尔提克

最佳答案

rundll32.exe 不能充当服务!你需要像 srvany.exe 这样的助手(来自旧的资源工具包)。

关于windows - 使用 rundll32.exe 作为 Windows 服务运行 dll,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/12163115/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com