VirtualBox

Changeset 68890 in vbox for trunk/src/VBox/Additions/common


Ignore:
Timestamp:
Sep 27, 2017 3:25:59 PM (7 years ago)
Author:
vboxsync
Message:

Additions/WDDM: Corrected loading DEBUG versions of VBoxOGL*.dll libraries, bugref:8998

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/common/crOpenGL/load.c

    r68248 r68890  
    11911191static HMODULE loadSystemDll(const char *pszName)
    11921192{
     1193#ifndef DEBUG
    11931194    char   szPath[MAX_PATH];
    11941195    UINT   cchPath = GetSystemDirectoryA(szPath, sizeof(szPath));
     
    12021203    memcpy(&szPath[cchPath + 1], pszName, cbName);
    12031204    return LoadLibraryA(szPath);
     1205#else
     1206    return LoadLibraryA(pszName);
     1207#endif
    12041208}
    12051209
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