What Is The Callback Method When A Daemon Application Exists
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.
精彩评论