fix for visual studio 6 to stop process being debugged