Register DLL file on Windows Server 2008 R2

前端 未结 8 1722
旧巷少年郎
旧巷少年郎 2021-02-18 14:23

I\'m trying to register a COM DLL file on Windows Server 2008 R2. Here are the steps I took:

  1. Run cmd as administrator
  2. c:\\windows\\syst
8条回答
  •  北荒
    北荒 (楼主)
    2021-02-18 14:46

    This is what has to occur.

    You have to copy your DLL that you want to Register to: c:\windows\SysWOW64\

    Then in the Run dialog, type this in: C:\Windows\SysWOW64\regsvr32.exe c:\windows\system32\YourDLL.dll

    and you will get the message:

    DllRegisterServer in c:\windows\system32\YourDLL.dll succeeded.

提交回复
热议问题