How to simulate windows shutdown while debugging (c#/.net winforms app)?

Posted by Rory on Stack Overflow See other posts from Stack Overflow or by Rory
Published on 2009-02-06T16:11:42Z Indexed on 2010/04/20 9:03 UTC
Read the original article Hit count: 230

Filed under:
|
|
|

I have an issue with my application when windows shuts down - my app isn't exiting nicely, resulting in the End Task window being displayed. How can I use the debugger to see what's going on? e.g. is there a way to send the windows shutdown message(s) to my application so it thinks windows is shutting down, so i can see exactly how it behaves?

© Stack Overflow or respective owner

Related posts about c#

Related posts about .NET