G
Guest
Hi
I am developping an application, and it runs fine... It is a monitor utilitie and runs on the background... When I close the application for example with Form1.Close() it shuts down succesfully
But when windows tries to shut it down (by logging off or by shutting down your computer), an end task window pops up for WindowsFormsParkingWindow (twice). My application is forcebly shut down when I shut down this process. When I cancel the closing of this form I see my svhost.exe spike up to 100%. What is going on, and what can I do to fix this
Is there a possibility to somehow capture the "closing message" that windows sends, so that I can close it manually myself (this maybee avoiding the problem?)
I also noticed that when windows wants to close the window, none of my code in Form_closing() is executed
I anyone can help please... (I can send the whole project to you if needed
I am developping an application, and it runs fine... It is a monitor utilitie and runs on the background... When I close the application for example with Form1.Close() it shuts down succesfully
But when windows tries to shut it down (by logging off or by shutting down your computer), an end task window pops up for WindowsFormsParkingWindow (twice). My application is forcebly shut down when I shut down this process. When I cancel the closing of this form I see my svhost.exe spike up to 100%. What is going on, and what can I do to fix this
Is there a possibility to somehow capture the "closing message" that windows sends, so that I can close it manually myself (this maybee avoiding the problem?)
I also noticed that when windows wants to close the window, none of my code in Form_closing() is executed
I anyone can help please... (I can send the whole project to you if needed