VirtualBox

Ignore:
Timestamp:
Sep 25, 2017 4:23:02 PM (7 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
118113
Message:

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/GuestHost/OpenGL/util/dll.c

    r66051 r68859  
    220220        ++cwcPath;
    221221    }
    222 
    223     if (!MultiByteToWideChar(CP_ACP, MB_PRECOMPOSED, dllname, -1, &szwPath[cwcPath], MAX_PATH - cwcPath))
    224     {
    225         DWORD winEr = GetLastError();
    226         crError("MultiByteToWideChar failed err %d", winEr);
    227         SetLastError(winEr);
    228         return NULL;
    229     }
    230222# endif /* CR_NO_GL_SYSTEM_PATH */
     223        if (!MultiByteToWideChar(CP_ACP, MB_PRECOMPOSED, dllname, -1, &szwPath[cwcPath], MAX_PATH - cwcPath))
     224        {
     225                DWORD winEr = GetLastError();
     226                crError("MultiByteToWideChar failed err %d", winEr);
     227                SetLastError(winEr);
     228                return NULL;
     229        }
    231230#endif
    232231
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette