VirtualBox

Ignore:
Timestamp:
Sep 25, 2017 4:23:02 PM (7 years ago)
Author:
vboxsync
Message:

Additions/WDDM: Loading of DEBUG versions of VBoxOGL*.dll libraries corrected, bugref:8998

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/WINNT/Graphics/Video/disp/wddm/VBoxDispD3DIf.cpp

    r63018 r68859  
    3939static HMODULE loadSystemDll(const char *pszName)
    4040{
     41    /* Assumed here that DEBUG version of VBoxDispD3D.dll will not be installed system wide
     42       but will be loaded from local folder of an application being debugged. */
     43#ifndef DEBUG
    4144    char   szPath[MAX_PATH];
    4245    UINT   cchPath = GetSystemDirectoryA(szPath, sizeof(szPath));
     
    5053    memcpy(&szPath[cchPath + 1], pszName, cbName);
    5154    return LoadLibraryA(szPath);
     55#else
     56    return LoadLibraryA(pszName);
     57#endif
    5258}
    5359
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