modify the cthandler for win8 can't open the console
use errmsg.dll