开发者

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.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜