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
Post a Comment