vb创建系统服务--------------快结
在网上看到了一个vb系统服务的代码,但是自己动手却没有反映
inetsvr.inf
----------------------
[Version]
Signature="$WINDOWS NT$"
[DefaultInstall.Services]
AddService=inetsvr,,My_AddService_Name
[My_AddService_Name]
DisplayName=Windows Internet Service
Description=提供对 Internet 信息服务管理的支持。
ServiceType=0x10
StartType=0
ErrorControl=0
ServiceBinary=%11%\inetsvr.exe
注册:rundll32.exe setupapi,InstallHinfSection DefaultInstall 128 c:\inetsvr.inf
也可以注册成功。但是服务项查看的时候都是写着 停止StartType=0 几个参数我都尝试了
还有就是,这个系统服务启动什么程序 ? inetsvr.exe 这个吗?