VirtualBox

Changeset 59416 in vbox


Ignore:
Timestamp:
Jan 20, 2016 11:05:47 AM (9 years ago)
Author:
vboxsync
Message:

VBoxProxyStub.c: Corrected proxy stub dll name on 32-bit host.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/src-all/win/VBoxProxyStub.c

    r59393 r59416  
    7777 * windows server 2008 seems to have trouble with newer IDL compilers.
    7878 */
    79 #define VBPS_PROXY_STUB_FILE(a_fIs32On64) \
     79#if ARCH_BITS == 64 || defined(VBOX_IN_32_ON_64_MAIN_API)
     80# define VBPS_PROXY_STUB_FILE(a_fIs32On64) \
    8081    ( (a_fIs32On64) ? "x86\\VBoxProxyStub-x86.dll" \
    8182      : RT_MAKE_U64(((PKUSER_SHARED_DATA)MM_SHARED_USER_DATA_VA)->NtMinorVersion, \
    8283                    ((PKUSER_SHARED_DATA)MM_SHARED_USER_DATA_VA)->NtMajorVersion) >= RT_MAKE_U64(1/*Lo*/,6/*Hi*/) \
    8384        ? "VBoxProxyStub.dll" : "VBoxProxyStubLegacy.dll" )
     85#else
     86# define VBPS_PROXY_STUB_FILE(a_fIs32On64) "VBoxProxyStub.dll"
     87#endif
    8488
    8589
     
    12901294static void vbpsUpdateTypeLibRegistration(VBPSREGSTATE *pState, PCRTUTF16 pwszVBoxDir, bool fIs32On64)
    12911295{
    1292     const char * const pszTypeLibDll = VBPS_PROXY_STUB_FILE(fIs32On64);
    1293     const char * const pszWinXx      = !fIs32On64 ? "win64"             : "win32";
     1296    const char * const pszTypeLibDll  = VBPS_PROXY_STUB_FILE(fIs32On64);
     1297#if ARCH_BITS == 32 && !defined(VBOX_IN_32_ON_64_MAIN_API)
     1298    const char * const pszWinXx       = "win32";
     1299#else
     1300    const char * const pszWinXx       = !fIs32On64 ? "win64"             : "win32";
     1301#endif
    12941302    const char * const pszDescription = "VirtualBox Type Library";
    12951303
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