Description: Windows service creation procedure, write their own, useful, without modification, in AttachProcessNames function will be 1. Exe or 2. Exe modified into their executable program can, by profile control, can be applied to various needs Windows service application. I was compiled with VS2008, and the code is easy to understand.
-- Windows service creation process, their own writing, good use, without modification, in the AttachProcessNames function 1. Exe or 2. Exe Lane will be modified to their implementation procedures can be through the configuration file controls, Windows services, can be applied to the various needs of applications. I am using VS2008 compiled, the code is understandable.
To Search:
File list (Check if you may need any files):
SvrGuard\SvrGuard.vcproj
........\SvrGuard.cpp
........\ReadMe.txt
........\targetver.h
........\stdafx.cpp
........\Resource.h
........\SvrGuard.rc
........\SvrGuard.h
........\small.ico
........\SvrGuard.ico
........\SvrGuard.vcproj.WWW-29B8178549C.Administrator.user
........\Debug\BuildLog.htm
........\.....\SvrGuard.exe.embed.manifest
........\.....\SvrGuard.obj
........\.....\stdafx.obj
........\.....\vc90.idb
........\.....\SvrGuard.pch
........\.....\vc90.pdb
........\.....\SvrGuard.res
........\.....\SvrGuard.exe.embed.manifest.res
........\.....\SvrGuard.exe.intermediate.manifest
........\.....\mt.dep
........\stdafx.h
........\Debug
SvrGuard
Install.bat
Uninstall.bat