Delphi 制作的服务的调用顺序
安装服务
Service.exe /install
ServiceCreate
ServiceBeforeInstall
ServiceAfterInstall
ServiceDestroy
卸载服务
Service.exe /uninstall
ServiceCreate
ServiceBeforeUninstall
ServiceAfterUninstall
ServiceDestroy
启动服务
ServiceCreate
ServiceStart
关闭服务
ServiceStop
ServiceDestroy
暂停服务
ServicePause
恢复服务
ServiceContinue
重新启动
ServiceStop
ServiceDestroy
ServiceCreate
ServiceStart
————————————————
原文链接:https://blog.csdn.net/warrially/article/details/112394346
Copyright © 2014 DelphiW.com 开发 源码 文档 技巧 All Rights Reserved
晋ICP备14006235号-8 晋公网安备 14108102000087号
执行时间: 0.052519083023071 seconds