J
Jörg Krause
Hi all,
I've a winforms application running on Windows 98/Me. How
can I recognize the termination of the application if the
user kills the process in the task manager?
Microsoft.Win32 provides SystemEvents.SessionEnd, but this
is still not fired if the process goes down, only if windows
is closed or the user ends his session the normal way.
The form closing/closed events do not fire if the process
is killed. But it is necessary to clean up some connections.
I'm using C#/Framework 1.1. It is not possible to switch to
XP/2000 where I can use services or protect the tasks using
security levels.
Or, on the other hand, is there any way to protect a software
from beeing killed in task manager on Win9x/Me systems and
how to do this using .NET apps?
Thanks for any ideas,
Joerg
I've a winforms application running on Windows 98/Me. How
can I recognize the termination of the application if the
user kills the process in the task manager?
Microsoft.Win32 provides SystemEvents.SessionEnd, but this
is still not fired if the process goes down, only if windows
is closed or the user ends his session the normal way.
The form closing/closed events do not fire if the process
is killed. But it is necessary to clean up some connections.
I'm using C#/Framework 1.1. It is not possible to switch to
XP/2000 where I can use services or protect the tasks using
security levels.
Or, on the other hand, is there any way to protect a software
from beeing killed in task manager on Win9x/Me systems and
how to do this using .NET apps?
Thanks for any ideas,
Joerg