VirtualBox

Changeset 39751 in vbox for trunk


Ignore:
Timestamp:
Jan 11, 2012 4:07:37 PM (13 years ago)
Author:
vboxsync
Message:

IPRT: disable critical error message boxes on init.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/r3/init.cpp

    r38658 r39751  
    3434#ifdef RT_OS_WINDOWS
    3535# include <process.h>
     36# include <Windows.h>
    3637#else
    3738# include <unistd.h>
     
    326327#endif
    327328
     329    /*
     330     * Disable error popups.
     331     */
     332#ifdef RT_OS_WINDOWS
     333    SetErrorMode(GetErrorMode() | SEM_FAILCRITICALERRORS);
     334#elif defined(RT_OS_OS2)
     335# error "FIXME"
     336#endif
     337
    328338#if !defined(IN_GUEST) && !defined(RT_NO_GIP)
    329339# ifdef VBOX
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette