VirtualBox

Changeset 1169 in vbox for trunk


Ignore:
Timestamp:
Mar 2, 2007 5:10:37 PM (18 years ago)
Author:
vboxsync
Message:

Main: Attempted to let the RunAs dialog bring itself to foreground.

Location:
trunk/src/VBox/Main
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/Makefile

    r1167 r1169  
    120120endif
    121121VBoxSVC_DEFS.win += VBOX_COM_OUTOFPROC_MODULE
    122 VBoxSVC_DEFS.win.x86 += _WIN32_WINNT=0x0400
     122VBoxSVC_DEFS.win.x86 += _WIN32_WINNT=0x0500
    123123VBoxSVC_DEFS.win.amd64 += _WIN32_WINNT=0x0510
    124124VBoxSVC_INCS = \
     
    226226VBoxC_DEFS += VBOX_WITH_WINMM
    227227endif
    228 VBoxC_DEFS.win.x86 += _WIN32_WINNT=0x0400
     228VBoxC_DEFS.win.x86 += _WIN32_WINNT=0x0500
    229229VBoxC_DEFS.win.amd64 += _WIN32_WINNT=0x0510
    230230VBoxC_INCS          = \
  • trunk/src/VBox/Main/VirtualBoxImpl.cpp

    r1015 r1169  
    22622262        RTPROCESS pid = NIL_RTPROCESS;
    22632263
    2264         /// @todo avoid annoying runas dialog on Win < Vista
    22652264        if (d->privileged)
    22662265        {
    22672266            /* Attempt to start a privileged process using the Run As dialog */
     2267
     2268            AllowSetForegroundWindow (ASFW_ANY);
    22682269
    22692270            Bstr file = exePath;
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