Windows console application - Is it possible to detect (and handle) the window close (X) button hit?

前端 未结 0 531
醉酒成梦
醉酒成梦 2021-01-27 01:25

I don\'t want to deflect the button hit or ignore the close event. I just need to run some cleanup code.

Let me tell you what I\'ve tried so far:

相关标签:
回答
  • 消灭零回复
提交回复
热议问题