C# windows application not closing

后端 未结 2 749
花落未央
花落未央 2021-01-28 02:54

I have a C# windows application. I placed it on a test server, whose set up is not controlled by my company and neither is the seurity context. I double click the exe. App runs

2条回答
  •  别那么骄傲
    2021-01-28 03:00

    Abusing Application.DoEvents() is another way to get into this kind of trouble. If you cannot kill the .exe from TaskMgr, your app is stuck waiting for a driver to finish an I/O request.

提交回复
热议问题