J
Jörg Krause
Hi,
I've a component which seems not to terminate correctly.
In VS.NET I start a new instance to debug the component
within a simple winform application. The program is up and
running. If I hit the "Stop Debugger" icon in vs.net the process
terminates as expected.
If I close the application using "Application.Exit()" the
window disappears but the process will still be active in
task manager and the debugger doesn't stop.
I found that the dispose methods are called and the end of
the main method is reached as expected, no exception was
thrown.
The component used COM/Interop and P/Invoke, but I have had
no problems using this so far.
Has anybody any idea how to proceed from here or even how to
debug into the problem. What exactly happens (or should happen)
on Application.Exit()?
If I run the applicatin outside of VS.NET, e.g. simply double
click the exe file, it starts and terminates as expected
(it disappears immediately from task manager).
Is this a VS.NET known bug?
Thanks for your attention,
Joerg
I've a component which seems not to terminate correctly.
In VS.NET I start a new instance to debug the component
within a simple winform application. The program is up and
running. If I hit the "Stop Debugger" icon in vs.net the process
terminates as expected.
If I close the application using "Application.Exit()" the
window disappears but the process will still be active in
task manager and the debugger doesn't stop.
I found that the dispose methods are called and the end of
the main method is reached as expected, no exception was
thrown.
The component used COM/Interop and P/Invoke, but I have had
no problems using this so far.
Has anybody any idea how to proceed from here or even how to
debug into the problem. What exactly happens (or should happen)
on Application.Exit()?
If I run the applicatin outside of VS.NET, e.g. simply double
click the exe file, it starts and terminates as expected
(it disappears immediately from task manager).
Is this a VS.NET known bug?
Thanks for your attention,
Joerg