etErrorMode(SEM_NOGPFAULTERRORBOX); 去除错误对话框.
http://www.cnblogs.com/-clq/archive/2012/01/22/2328783.html