开发者

What Is The Callback Method When A Daemon Application Exists

开发者 https://www.devze.com 2022-12-30 13:04 出处:网络
I need to be able to create a little daemon application that will keep running until the machine is restarted or 开发者_运维技巧the process is forcefully killed.

I need to be able to create a little daemon application that will keep running until the machine is restarted or 开发者_运维技巧the process is forcefully killed.

Is there a callback I can implement to get called when the application is exiting (either by force or at system shutdown)

I am not creating a Windows form but a daemon application - I have serached google with no luck


Why not just make a Windows Service Application? This, by default, will startup when the system boots, and remain running until shutdown.

0

精彩评论

暂无评论...
验证码 换一张
取 消