VirtualBox

Changeset 41100 in vbox for trunk/src/VBox/Frontends/VBoxSDL


Ignore:
Timestamp:
Apr 30, 2012 3:18:06 PM (13 years ago)
Author:
vboxsync
Message:

better error report if the global settings directory is not accessible

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VBoxSDL/VBoxSDL.cpp

    r40023 r41100  
    13201320
    13211321    rc = com::Initialize();
     1322#ifdef VBOX_WITH_XPCOM
     1323    if (rc == NS_ERROR_FILE_ACCESS_DENIED)
     1324    {
     1325        char szHome[RTPATH_MAX] = "";
     1326        com::GetVBoxUserHomeDirectory(szHome, sizeof(szHome));
     1327        RTPrintf("Failed to initialize COM because the global settings directory '%s' is not accessible!\n", szHome);
     1328        return 1;
     1329    }
     1330#endif
    13221331    if (FAILED(rc))
    13231332    {
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