VirtualBox

Changeset 107362 in vbox for trunk/src/VBox/Main


Ignore:
Timestamp:
Dec 18, 2024 3:40:40 PM (5 weeks ago)
Author:
vboxsync
Message:

Main,Installer/win: Removed VBoxProxyStubLegacy.dll since we no longer support Vista and older 64-bit windows hosts.

Location:
trunk/src/VBox/Main
Files:
1 deleted
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/Makefile.kmk

    r107139 r107362  
    15351535 # Experimental COM proxy + stub DLL w/ automatic registration updating.
    15361536 #
    1537  # The Legacy stub is for older 64-bit windows versions (pre Windows 7) as we
    1538  # were having various problems on windows server 2003 and 2008 with the code
    1539  # MIDL generated.  Also, in windows 7 there are some potentially interesting
    1540  # changes in the generated code where it uses new helpers from OLE32.
    1541  #
    15421537 DLLS += VBoxProxyStub
    15431538 VBoxProxyStub_TEMPLATE = VBoxMainComp
     
    15661561 src-all/win/VBoxProxyStub.rc_DEPS = $(VBoxCOM_0_OUTDIR)/VirtualBox.tlb
    15671562 VBoxProxyStub_VirtualBox_p.c_CFLAGS.x86 = /Gz # Workaround for incorrect ObjectStublessClient* prototypes in SDK v7.1.
    1568 
    1569  ifn1of ($(KBUILD_TARGET_ARCH), arm64)
    1570   DLLS += VBoxProxyStubLegacy
    1571   VBoxProxyStubLegacy_TEMPLATE = VBoxMainComp
    1572   VBoxProxyStubLegacy_EXTENDS  = VBoxProxyStub
    1573   VBoxProxyStubLegacy_DEFS     = $(VBoxProxyStub_DEFS) VBOX_IN_PROXY_STUB_LEGACY
    1574   VBoxProxyStubLegacy_INCS     = $(VBoxCOM_0_OUTDIR)/legacy/
    1575   VBoxProxyStubLegacy_SOURCES  = \
    1576         $(VBoxCOM_0_OUTDIR)/legacy/VirtualBox_p.c \
    1577         $(VBoxCOM_0_OUTDIR)/legacy/VirtualBox_i.c \
    1578         src-all/win/VBoxProxyStub.def \
    1579         src-all/win/VBoxProxyStubLegacy.rc \
    1580         src-all/win/VBoxProxyStub.c
    1581   src-all/win/VBoxProxyStubLegacy.rc_DEPS = $(VBoxCOM_0_OUTDIR)/legacy/VirtualBox.tlb
    1582  endif
    15831563
    15841564 ifdef VBOX_WITH_32_ON_64_MAIN_API
     
    17651745
    17661746 if defined(VBOX_WITH_32_ON_64_MAIN_API) && !defined(VBOX_ONLY_EXTPACKS)
    1767   # The XP targetted 32-bit proxy stub works with all versions of windows (the
    1768   # issues leading to the VBoxProxyStubLegacy.dll are only on 64-bit windows).
     1747  # The XP targetted 32-bit proxy stub works with all versions of windows.
    17691748  $(call KB_FN_AUTO_CMD_DEPS,$(VBoxCOM-x86_0_OUTDIR)/VirtualBox_i.c)
    17701749  $(VBoxCOM-x86_0_OUTDIR)/VirtualBox_i.c \
  • trunk/src/VBox/Main/glue/initterm.cpp

    r106514 r107362  
    466466            if (RT_SUCCESS(vrc))
    467467#  ifndef VBOX_IN_32_ON_64_MAIN_API
    468                 vrc = RTPathAppend(szPath, sizeof(szPath),
    469                                       RT_MAKE_U64(((PKUSER_SHARED_DATA)MM_SHARED_USER_DATA_VA)->NtMinorVersion,
    470                                                   ((PKUSER_SHARED_DATA)MM_SHARED_USER_DATA_VA)->NtMajorVersion)
    471                                    >= RT_MAKE_U64(1/*Lo*/,6/*Hi*/)
    472                                    ? "VBoxProxyStub.dll" : "VBoxProxyStubLegacy.dll");
     468                vrc = RTPathAppend(szPath, sizeof(szPath), "VBoxProxyStub.dll");
    473469#  else
    474470                vrc = RTPathAppend(szPath, sizeof(szPath), "x86\\VBoxProxyStub-x86.dll");
  • trunk/src/VBox/Main/src-all/win/VBoxProxyStub.c

    r107098 r107362  
    9191 * Selects the proxy stub DLL based on 32-on-64-bit and host OS version.
    9292 *
    93  * The legacy DLL covers 64-bit pre Windows 7 versions of Windows. W2K3-amd64
    94  * has trouble parsing the result when MIDL /target NT51 or higher. Vista and
    95  * windows server 2008 seems to have trouble with newer IDL compilers.
     93 * Note! We used to have a separate version of the 64-bit DLL for pre-win7.
    9694 */
    9795#if ARCH_BITS == 64 || defined(VBOX_IN_32_ON_64_MAIN_API)
     
    10098# define VBPS_PROXY_STUB_FILE(a_fIs32On64) VBPS_PROXY_STUB_FILE_SUB()
    10199#endif
    102 #define VBPS_PROXY_STUB_FILE_SUB() \
    103     ( RT_MAKE_U64(((PKUSER_SHARED_DATA)MM_SHARED_USER_DATA_VA)->NtMinorVersion, \
    104                   ((PKUSER_SHARED_DATA)MM_SHARED_USER_DATA_VA)->NtMajorVersion) >= RT_MAKE_U64(1/*Lo*/,6/*Hi*/) \
    105       ? "VBoxProxyStub.dll" : "VBoxProxyStubLegacy.dll" )
     100#define VBPS_PROXY_STUB_FILE_SUB()         "VBoxProxyStub.dll"
    106101
    107102/** For use with AssertLogRel except a_Expr1 from assertions but not LogRel. */
  • trunk/src/VBox/Main/src-all/win/comregister.cmd

    r106061 r107362  
    113113
    114114REM
    115 REM Figure out the Windows version as the proxy stub requires 6.0 or later (at least for 64-bit).
    116 REM
    117 set WinVer=Version 4.0.1381
    118 set WinVerMajor=4
    119 set WinVerMinor=0
    120 set WinVerBuild=1381
    121 for /f "tokens=2 delims=[]" %%a in ('ver') do set WinVer=%%a
    122 for /f "tokens=2,3,4 delims=. " %%a in ("%WinVer%") do (
    123     set WinVerMajor=%%a
    124     set WinVerMinor=%%b
    125     set WinVerBuild=%%c
    126 )
    127 REM echo WinVerMajor=%WinVerMajor% WinVerMinor=%WinVerMinor% WinVerBuild=%WinVerBuild%  WinVer=%WinVer%
    128 
    129 REM
    130115REM Parse arguments.
    131116REM
     
    182167REM Unregister all first, then register them. The order matters here.
    183168:register_amd64
    184 if "%WinVerMajor%" == "5" goto register_amd64_legacy
    185 if not "%WinVerMajor%" == "6" goto register_amd64_not_legacy
    186 if not "%WinVerMinor%" == "0" goto register_amd64_not_legacy
    187 :register_amd64_legacy
    188 set s64BitProxyStub=VBoxProxyStubLegacy.dll
    189 goto register_amd64_begin
    190 :register_amd64_not_legacy
    191 set s64BitProxyStub=VBoxProxyStub.dll
    192 :register_amd64_begin
    193 echo s64BitProxyStub=%s64BitProxyStub%
    194169@echo on
    195170"%_VBOX_DIR%VBoxSVC.exe" /UnregServer
     
    197172%windir%\system32\regsvr32 /s /u "%_VBOX_DIR%VBoxC.dll"
    198173%windir%\syswow64\regsvr32 /s /u "%_VBOX_DIR%x86\VBoxClient-x86.dll"
    199 %windir%\system32\regsvr32 /s /u "%_VBOX_DIR%%s64BitProxyStub%"
     174%windir%\system32\regsvr32 /s /u "%_VBOX_DIR%VBoxProxyStub.dll"
    200175%windir%\syswow64\regsvr32 /s /u "%_VBOX_DIR%x86\VBoxProxyStub-x86.dll"
    201176if %fUninstallOnly% == 1 goto end
     
    205180%windir%\syswow64\regsvr32 /s    "%_VBOX_DIR%x86\VBoxClient-x86.dll"
    206181if %fNoProxy% == 1 goto end
    207 if exist "%_VBOX_DIR%%s64BitProxyStub%"         %windir%\system32\regsvr32 /s "%_VBOX_DIR%%s64BitProxyStub%"
     182if exist "%_VBOX_DIR%VBoxProxyStub.dll"         %windir%\system32\regsvr32 /s "%_VBOX_DIR%VBoxProxyStub.dll"
    208183if exist "%_VBOX_DIR%x86\VBoxProxyStub-x86.dll" %windir%\syswow64\regsvr32 /s "%_VBOX_DIR%x86\VBoxProxyStub-x86.dll"
    209184@echo off
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