怎样把写的程序添加到win2000的服务中??

hoofi 2004-03-16 01:14:56
在后台运行
...全文
75 3 打赏 收藏 转发到动态 举报
写回复
用AI写文章
3 条回复
切换为时间正序
请发表友善的回复…
发表回复
cpio 2004-07-24
  • 打赏
  • 举报
回复
函数名 CreateService
别名 CreateServiceA
分类 控件与消息函数
VB声明 Declare Function CreateService Lib "advapi32.dll" Alias "CreateServiceA" (ByVal hSCManager As Long, ByVal lpServiceName As String, ByVal lpDisplayName As String, ByVal dwDesiredAccess As Long, ByVal dwServiceType As Long, ByVal dwStartType As Long, ByVal dwErrorControl As Long, ByVal lpBinaryPathName As String, ByVal lpLoadOrderGroup As String, lpdwTagId As Long, ByVal lpDependencies As String, ByVal lp As String, ByVal lpPassword As String) As Long
  • 打赏
  • 举报
回复
不太容易实现,楼上的能说具体点吗
zdcscc 2004-07-20
  • 打赏
  • 举报
回复
用Createservice就行了

1,066

社区成员

发帖
与我相关
我的任务
社区描述
VB 资源
社区管理员
  • 资源
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧