Bypass Window Error popup messageTag(s): WinAPI/Registry

[local external function]
FUNCTION ulong SetErrorMode(ulong uMode) LIBRARY "KERNEL32.DLL"
The possible parameter values are:
CONSTANT ulong SEM_FAILCRITICALERRORS  1
CONSTANT ulong SEM_NOGPFAULTERRORBOX   2    
CONSTANT ulong SEM_NOALIGNMENTFAULTEXCEPT  4
CONSTANT ulong SEM_NOOPENFILEERRORBOX      32768
Note: To combine values you can simply add them together.


If you find this article useful, consider making a small donation
to show your support for this Web site and its content.

Written and compiled by Réal Gagnon ©1998-2012
[ home ]