Index: /trunk/src/VBox/Runtime/r3/init.cpp
===================================================================
--- /trunk/src/VBox/Runtime/r3/init.cpp	(revision 39750)
+++ /trunk/src/VBox/Runtime/r3/init.cpp	(revision 39751)
@@ -34,4 +34,5 @@
 #ifdef RT_OS_WINDOWS
 # include <process.h>
+# include <Windows.h>
 #else
 # include <unistd.h>
@@ -326,4 +327,13 @@
 #endif
 
+    /*
+     * Disable error popups.
+     */
+#ifdef RT_OS_WINDOWS
+    SetErrorMode(GetErrorMode() | SEM_FAILCRITICALERRORS);
+#elif defined(RT_OS_OS2)
+# error "FIXME"
+#endif
+
 #if !defined(IN_GUEST) && !defined(RT_NO_GIP)
 # ifdef VBOX
