如何将dll作为服务安装并将其作为svchost进程运行 [英] How to install dll as a services and run it as svchost process

查看:522
本文介绍了如何将dll作为服务安装并将其作为svchost进程运行的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述





我一直在尝试在svchost.exe下托管我自己的Windows服务。



任何人都可以帮我写一个dll并安装它作为服务并运行它作为svchost进程。



我搜索了很多问题,但没有任何帮助,如果有可能请帮助我。



谢谢。

Hi,

I've been trying to host my own Windows Service under svchost.exe.

Can any one help me for write a dll and install it as services and run it as svchost process.

I googled a lot of question, but nothing helpful, if it is possible to do please help me.

thanks.

推荐答案

如果他有一个然后在Win7系统中:



C:\ Windows \ System32 \ runas.exe将运行XXXX作为实用工具。还有

C:\ Windows \ System32 \ rundll32.exe,它将把DLL作为Windows主机进程运行。



我希望这会有所帮助。
If he has a Win7 system then in:

C:\Windows\System32\runas.exe which will Run XXXX as a Utility. Also there is
C:\Windows\System32\rundll32.exe which will run a DLL as a Windows host process.

I hope this will be of help.


这篇关于如何将dll作为服务安装并将其作为svchost进程运行的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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