Some applications expect a call to GetStdHandle to fail. This compatibility fix causes all calls to the GetStdHandle API ...