Introduction - If you have any usage issues, please Google them yourself
example demonstrates how to use code to achieve an executable registered as a service to the system. The development process is because I firewall after login at boot after launch, sometimes I boot will not logged in a very long time, when the machine is not under the protection of the firewall. Firewall as a system service after registration to solve the problem. This example can be used directly or by reference to code.
Packet : 89346528schservice.rar filelist
schService\Debug
schService\ReadMe.txt
schService\res\schService.ico
schService\res\schService.rc2
schService\res
schService\resource.h
schService\schService.aps
schService\schService.clw
schService\schService.cpp
schService\schService.dsp
schService\schService.dsw
schService\schService.h
schService\schService.ncb
schService\schService.opt
schService\schService.plg
schService\schService.rc
schService\schServiceDlg.cpp
schService\schServiceDlg.h
schService\StdAfx.cpp
schService\StdAfx.h
schService