VirtualBox

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


Ignore:
Timestamp:
Jul 7, 2009 12:38:19 PM (15 years ago)
Author:
vboxsync
Message:

VBoxService/common: Differ between crOGL amd64 and x86 DLLs.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/common/VBoxService/VBoxServiceVMInfo-win.cpp

    r21246 r21323  
    418418    GetWindowsDirectory(szWinDir, _MAX_PATH);
    419419    swprintf(szDriversDir, (_MAX_PATH + 32), TEXT("%s\\drivers"), szSysDir);
     420#ifdef RT_ARCH_AMD64
     421    TCHAR szSysWowDir[_MAX_PATH + 32] = {0};
     422    swprintf(szSysWowDir, (_MAX_PATH + 32), TEXT("%s\\SysWow64"), szWinDir);
     423#endif
    420424
    421425    /* The file information table. */
     
    431435        { szSysDir, TEXT("VBoxGINA.dll"), },
    432436
     437 /* On 64-bit we don't yet have the OpenGL DLLs in native format.
     438    So just enumerate the 32-bit files in the SYSWOW directory. */
     439 #ifdef RT_ARCH_AMD64
     440        { szSysWowDir, TEXT("VBoxOGLarrayspu.dll"), },
     441        { szSysWowDir, TEXT("VBoxOGLcrutil.dll"), },
     442        { szSysWowDir, TEXT("VBoxOGLerrorspu.dll"), },
     443        { szSysWowDir, TEXT("VBoxOGLpackspu.dll"), },
     444        { szSysWowDir, TEXT("VBoxOGLpassthroughspu.dll"), },
     445        { szSysWowDir, TEXT("VBoxOGLfeedbackspu.dll"), },
     446        { szSysWowDir, TEXT("VBoxOGL.dll"), },
     447 #else
    433448        { szSysDir, TEXT("VBoxOGLarrayspu.dll"), },
    434449        { szSysDir, TEXT("VBoxOGLcrutil.dll"), },
     
    437452        { szSysDir, TEXT("VBoxOGLpassthroughspu.dll"), },
    438453        { szSysDir, TEXT("VBoxOGLfeedbackspu.dll"), },
    439         { szSysDir, TEXT("VBoxOGL.dll"), },
     454        { szSysDir, TEXT("VBoxOGL.dll"), }, 
     455 #endif
    440456
    441457        { szDriversDir, TEXT("VBoxGuest.sys"), },
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