Jump to Real's How-to Main page

Bypass Window Error popup message

[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 supportfor this Web site and its content.

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