VirtualBox

Ignore:
Timestamp:
Dec 10, 2010 3:17:31 PM (14 years ago)
Author:
vboxsync
Message:

Added RTLdrLoadEx for exposing dlerror info.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VirtualBox/src/globals/VBoxGlobal.cpp

    r34947 r34959  
    50945094    if (mDbgEnabled)
    50955095    {
    5096         int vrc = SUPR3HardenedLdrLoadAppPriv("VBoxDbg", &mhVBoxDbg);
     5096        char szErr[8192];
     5097        szErr[0] = '\0';
     5098        int vrc = SUPR3HardenedLdrLoadAppPriv("VBoxDbg", &mhVBoxDbg, szErr, sizeof(szErr));
    50975099        if (RT_FAILURE(vrc))
    50985100        {
    50995101            mhVBoxDbg = NIL_RTLDRMOD;
    51005102            mDbgAutoShow =  mDbgAutoShowCommandLine = mDbgAutoShowStatistics = false;
    5101             LogRel(("Failed to load VBoxDbg, rc=%Rrc\n", vrc));
     5103            LogRel(("Failed to load VBoxDbg, rc=%Rrc - %s\n", vrc, szErr));
    51025104        }
    51035105    }
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