3

I heard that you can register a 32 COM server DLL in COM+ so it will be executed as local server instead of an in-process server. This solves a 64/32 bit issue, it would be possible to access the 32-bit COM DLL in a 64 bit CScript host.

How do I register the DLL in Win7 "Component Services" as a COM+ application?

Edit: The 32-Bit DLL can't be registered with the 64-Bit regsvr32 since this 64-Bit program can't load the 32-Bit DLL as well as the CScript host. The only workaround is to make the in-process COM server in the DLL available in a out-of-process server running in a 32-Bit host. That's the reason to install the DLL in a COM+ application.

harper
  • 1,071

1 Answers1

1

On a 64-bit version of Windows 7, there are two versions of the Regsv32.exe file:
The 64bit version is %systemroot%\System32\regsvr32.exe.
The 32bit version is %systemroot%\SysWoW64\regsvr32.exe.
To register the .dll, go to the respective path and run regsrv32.exe YourFileName.dll

Overmind
  • 10,308