delphi - Is it safe to set SEM_FAILCRITICALERRORS on startup with VCL? -


i've found recommended call seterrormode(sem_failcriticalerrors) on application startup:
https://msdn.microsoft.com/en-us/library/windows/desktop/ms680621.aspx

i know vcl code sets mode temporarily in functions. not globally on application startup.

as not see advantage of default behavior, i'm considering setting explicitly code. wonder, if vcl designed run in mode. aware of potential problem? reason, why vcl not set mode itself?

it's fine in vcl application follow msdn advice , set sem_ failcriticalerrors @ startup.


Comments

Popular posts from this blog

.htaccess - First slash is removed after domain when entering a webpage in the browser -

Socket.connect doesn't throw exception in Android -

SPSS keyboard combination alters encoding -