VirtualBox

Changeset 49911 in vbox


Ignore:
Timestamp:
Dec 15, 2013 5:01:20 PM (11 years ago)
Author:
vboxsync
Message:

32-bit on 64-bit proxy dll (still disabled), made comregister.cmd register the proxy stuff when present.

Location:
trunk/src/VBox/Main
Files:
2 edited

Legend:

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

    r49910 r49911  
    909909 VBoxProxyStub_TEMPLATE = VBOXMAINCOMP
    910910 VBoxProxyStub_DEFS     = REGISTER_PROXY_DLL
     911 VBoxProxyStub_DEFS.win.x86 = WIN32
    911912 VBoxProxyStub_SOURCES  = \
    912913        $(VBoxCOM_0_OUTDIR)/dlldata.c \
    913914        $(VBoxCOM_0_OUTDIR)/VirtualBox_p.c \
    914915        $(VBoxCOM_0_OUTDIR)/VirtualBox_i.c \
    915        src-all/win/VBoxProxyStub.def
     916        src-all/win/VBoxProxyStub.def
     917
     918 ifdef VBOX_WITH_32_ON_64_MAIN_API
     919  DLLS += VBoxProxyStub-x86
     920  VBoxProxyStub-x86_TEMPLATE = VBoxMainComp-x86
     921  VBoxProxyStub-x86_DEFS     = REGISTER_PROXY_DLL
     922  VBoxProxyStub-x86_DEFS.win.x86 = WIN32
     923  VBoxProxyStub-x86_SOURCES  = \
     924        $(VBoxCOM-x86_0_OUTDIR)/dlldata.c \
     925        $(VBoxCOM-x86_0_OUTDIR)/VirtualBox_p.c \
     926        $(VBoxCOM-x86_0_OUTDIR)/VirtualBox_i.c \
     927        src-all/win/VBoxProxyStub.def
     928 endif
    916929endif
    917930
     
    976989+ $(VBoxCOM-x86_0_OUTDIR)/VirtualBox-x86.tlb: $(VBOX_IDL_FILE.MSCOM) | $$(dir $$@)
    977990        $(VBOX_WIN_MIDL) /nologo /env win32 /target NT51 \
     991                /robust /protocol all \
    978992                /out $(call VBOX_FN_MAKE_WIN_PATH,$(VBoxCOM-x86_0_OUTDIR)) \
    979993                /tlb $(call VBOX_FN_MAKE_WIN_PATH,$(VBoxCOM-x86_0_OUTDIR)/VirtualBox-x86.tlb) \
  • trunk/src/VBox/Main/src-all/win/comregister.cmd

    r49537 r49911  
    102102%_VBOX_DIR%VBoxSVC.exe /UnregServer
    103103regsvr32 /s /u %_VBOX_DIR%VBoxC.dll
     104if exist %_VBOX_DIR%VBoxProxyStub.dll     %windir%\system32\regsvr32 /s /u %_VBOX_DIR%VBoxProxyStub.dll
    104105@if "%1" == "-u" goto end
    105106%_VBOX_DIR%VBoxSVC.exe /RegServer
    106107regsvr32 /s    %_VBOX_DIR%VBoxC.dll
     108@if "%1" == "--no-proxy" goto end
     109if exist %_VBOX_DIR%VBoxProxyStub.dll     %windir%\system32\regsvr32 /s %_VBOX_DIR%VBoxProxyStub.dll
    107110@echo off
    108111goto end
    109112
    110 REM Unregister both first, then register them. The order matters here.
     113REM Unregister all first, then register them. The order matters here.
    111114:register_amd64
    112115@echo on
     
    114117%windir%\syswow64\regsvr32 /s /u %_VBOX_DIR%x86\VBoxClient-x86.dll
    115118%windir%\system32\regsvr32 /s /u %_VBOX_DIR%VBoxC.dll
     119if exist %_VBOX_DIR%VBoxProxyStub.dll     %windir%\system32\regsvr32 /s /u %_VBOX_DIR%VBoxProxyStub.dll
     120if exist %_VBOX_DIR%VBoxProxyStub-x86.dll %windir%\system32\regsvr32 /s /u %_VBOX_DIR%VBoxProxyStub-x86.dll
    116121@if "%1" == "-u" goto end
    117122%_VBOX_DIR%VBoxSVC.exe /RegServer
    118123%windir%\system32\regsvr32 /s    %_VBOX_DIR%VBoxC.dll
    119124%windir%\syswow64\regsvr32 /s    %_VBOX_DIR%x86\VBoxClient-x86.dll
     125@if "%1" == "--no-proxy" goto end
     126if exist %_VBOX_DIR%VBoxProxyStub.dll     %windir%\system32\regsvr32 /s %_VBOX_DIR%VBoxProxyStub.dll
     127if exist %_VBOX_DIR%VBoxProxyStub-x86.dll %windir%\system32\regsvr32 /s %_VBOX_DIR%VBoxProxyStub-x86.dll
    120128@echo off
    121129
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