nalvarez added a comment.
Meanwhile I'm skeptical of the need to "set it back". Is there any case where
such error dialog boxes would be desirable? It seems like their existence is an
ancient-app-compatibility thing. The documentation for `SetErrorMode`
recommends setting `SEM_FAILCRITICALERRORS` at app startup and leaving it that
To: kfunk, #frameworks, brauch
Cc: nalvarez, broulik