Console Event Handling
Today I was looking around fro a way to intercept exit events for a c# console application. I found out there is no 'simple' way to do it, you have to import a win3d API function as explained HERE.
I need to do this for my Edanarion server application. Server should be shut down gracefully through a console command, but it should also take care of shutdowns through console window closing.
I need to do this for my Edanarion server application. Server should be shut down gracefully through a console command, but it should also take care of shutdowns through console window closing.
Comments