Unable to register dll using regsvr32

后端 未结 3 1364
醉话见心
醉话见心 2021-01-15 08:49

My project generates a dll and when build in Debug mode the dll gets registered automatically by Visual Studio 2005. But when I try to register the same dll in command promp

相关标签:
3条回答
  • 2021-01-15 09:22

    First, you have to start the Command as a administrator. Second, you didn't specify your dll file in which directory. If your operating system is 32-bit windows operating system, the regsvr32.exe's default working directory is C:\Windows\System32\.

    you may get some help for your answers from here, here

    0 讨论(0)
  • 2021-01-15 09:35

    I just had the same issue.

    If you're running 64-bit Windows and you've placed the 32-bit DLL in Windows\System32\ then it'll give you this error.

    Simply place the DLL into Windows\SysWOW64\ and register it from there.

    Here's where I found the fix:

    http://csi-windows.com/blog/all/73-windows-64-bit/378-fixing-qregsvr32-the-module-failed-to-load-the-specified-module-could-not-be-foundq

    0 讨论(0)
  • 2021-01-15 09:36

    The DLL might link to another DLL which isn't in the path when running regsvr32 from the command line.

    0 讨论(0)
提交回复
热议问题