In the program, I accidentally typed closeHandle()twice twice on the mutex handle (closing an already closed handle).
When I ran the code in the debugger, I received an exception error An invalid HANDLE was specified.as expected.
However, when starting the program “usually” as a standalone (outside the debugger) exception does not appear or any other error. The program is working fine.
Is this just a tweak in Visual Studio .NET 2003 or is there something behind?
source
share