文件名称:NTServiceSampile100
- 所属分类:
- 系统编程
- 资源属性:
- [Windows] [Visual.Net] [源码]
- 上传时间:
- 2012-11-26
- 文件大小:
- 490kb
- 下载次数:
- 0次
- 提 供 者:
- 孙*
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
想要编写NT服务的同志们可以下载该源代码。该程序建立一个Window NT内核服务程序,由于内核服务程序没有交互界面,所以该程序还启动一个TCP网络接口,可以和客户端
进行数据和命令通信,通信协议在头文件中有详细说明,该程序只要稍加改动就能实现功能强大的网络服务程序。该服务启动以后可以在[开始]菜单[运行]栏里输入“telnet localhost 7815”进行测试。
同时还提供了一个对服务进行控制的通用工具(NTServerControlUtility.exe),可以注册、启动、停止、卸载任何Windows NT 内核服务程序,同时提供配置文件,还能通过传递参数的方式来操作服务,可以用该程序在软件安装的时候注册一个服务,软件卸载的时候删除一个服务等。可以自定义程序界面图标和提示信息,通过对配置文件和界面图标的修改,可以将该工具做成你的商业化软件当中去。-err
进行数据和命令通信,通信协议在头文件中有详细说明,该程序只要稍加改动就能实现功能强大的网络服务程序。该服务启动以后可以在[开始]菜单[运行]栏里输入“telnet localhost 7815”进行测试。
同时还提供了一个对服务进行控制的通用工具(NTServerControlUtility.exe),可以注册、启动、停止、卸载任何Windows NT 内核服务程序,同时提供配置文件,还能通过传递参数的方式来操作服务,可以用该程序在软件安装的时候注册一个服务,软件卸载的时候删除一个服务等。可以自定义程序界面图标和提示信息,通过对配置文件和界面图标的修改,可以将该工具做成你的商业化软件当中去。-err
(系统自动生成,下载前可以参看下载内容)
下载文件列表
Bin
...\dllPublicFunc.dll
...\HTMSCenterService.exe
...\NTServerControlUtility.exe
...\NTServerControlUtility.ini
...\NTServerControlUtility_使用方法.txt
Src
...\dllPublicFunc
...\.............\dll
...\.............\...\Arithmetic.cpp
...\.............\...\Arithmetic.h
...\.............\...\datetime.cpp
...\.............\...\datetime.h
...\.............\...\DirFile.cpp
...\.............\...\DirFile.h
...\.............\...\dllPublicFunc.aps
...\.............\...\dllPublicFunc.cpp
...\.............\...\dllPublicFunc.def
...\.............\...\dllPublicFunc.h
...\.............\...\dllPublicFunc.rc
...\.............\...\dllPublicFunc.sln
...\.............\...\dllPublicFunc.vcproj
...\.............\...\dllPublicFunc.vcproj.CHRYS-T60.chrys.user
...\.............\...\HwDir.cpp
...\.............\...\HwDir.h
...\.............\...\Log.cpp
...\.............\...\Log.h
...\.............\...\OSRelate.cpp
...\.............\...\OSRelate.h
...\.............\...\PublicFunc.cpp
...\.............\...\PublicFunc.h
...\.............\...\RegisterTable.cpp
...\.............\...\RegisterTable.h
...\.............\...\res
...\.............\...\...\dllPublicFunc.rc2
...\.............\...\Resource.h
...\.............\...\stdafx.cpp
...\.............\...\stdafx.h
...\.............\...\String.cpp
...\.............\...\String.h
...\.............\...\UIHandle.cpp
...\.............\...\uihandle.h
...\global.cpp
...\global.h
...\HwError.cpp
...\HwError.h
...\NTServiceSample
...\...............\HTMSCenterService
...\...............\.................\HTMSCenterService.aps
...\...............\.................\HTMSCenterService.cpp
...\...............\.................\HTMSCenterService.h
...\...............\.................\HTMSCenterService.rc
...\...............\.................\HTMSCenterService.sln
...\...............\.................\HTMSCenterService.vcproj
...\...............\.................\HTMSCenterService.vcproj.CHRYS-T60.chrys.user
...\...............\.................\HWNTServer.cpp
...\...............\.................\HWNTServer.h
...\...............\.................\Main.ico
...\...............\.................\ReadMe.txt
...\...............\.................\resource.h
...\...............\.................\stdafx.cpp
...\...............\.................\stdafx.h
...\...............\.................\TCPMeetClient.cpp
...\...............\.................\TCPMeetClient.h
...\...............\.................\TCPServer.cpp
...\...............\.................\TCPServer.h
...\Ver.h
...\dllPublicFunc.dll
...\HTMSCenterService.exe
...\NTServerControlUtility.exe
...\NTServerControlUtility.ini
...\NTServerControlUtility_使用方法.txt
Src
...\dllPublicFunc
...\.............\dll
...\.............\...\Arithmetic.cpp
...\.............\...\Arithmetic.h
...\.............\...\datetime.cpp
...\.............\...\datetime.h
...\.............\...\DirFile.cpp
...\.............\...\DirFile.h
...\.............\...\dllPublicFunc.aps
...\.............\...\dllPublicFunc.cpp
...\.............\...\dllPublicFunc.def
...\.............\...\dllPublicFunc.h
...\.............\...\dllPublicFunc.rc
...\.............\...\dllPublicFunc.sln
...\.............\...\dllPublicFunc.vcproj
...\.............\...\dllPublicFunc.vcproj.CHRYS-T60.chrys.user
...\.............\...\HwDir.cpp
...\.............\...\HwDir.h
...\.............\...\Log.cpp
...\.............\...\Log.h
...\.............\...\OSRelate.cpp
...\.............\...\OSRelate.h
...\.............\...\PublicFunc.cpp
...\.............\...\PublicFunc.h
...\.............\...\RegisterTable.cpp
...\.............\...\RegisterTable.h
...\.............\...\res
...\.............\...\...\dllPublicFunc.rc2
...\.............\...\Resource.h
...\.............\...\stdafx.cpp
...\.............\...\stdafx.h
...\.............\...\String.cpp
...\.............\...\String.h
...\.............\...\UIHandle.cpp
...\.............\...\uihandle.h
...\global.cpp
...\global.h
...\HwError.cpp
...\HwError.h
...\NTServiceSample
...\...............\HTMSCenterService
...\...............\.................\HTMSCenterService.aps
...\...............\.................\HTMSCenterService.cpp
...\...............\.................\HTMSCenterService.h
...\...............\.................\HTMSCenterService.rc
...\...............\.................\HTMSCenterService.sln
...\...............\.................\HTMSCenterService.vcproj
...\...............\.................\HTMSCenterService.vcproj.CHRYS-T60.chrys.user
...\...............\.................\HWNTServer.cpp
...\...............\.................\HWNTServer.h
...\...............\.................\Main.ico
...\...............\.................\ReadMe.txt
...\...............\.................\resource.h
...\...............\.................\stdafx.cpp
...\...............\.................\stdafx.h
...\...............\.................\TCPMeetClient.cpp
...\...............\.................\TCPMeetClient.h
...\...............\.................\TCPServer.cpp
...\...............\.................\TCPServer.h
...\Ver.h