Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. COM
  4. RegSvr32 failed

RegSvr32 failed

Scheduled Pinned Locked Moved COM
helpcsharpvisual-studiocomquestion
10 Posts 8 Posters 1 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • W Offline
    W Offline
    Will8888888
    wrote on last edited by
    #1

    Please help me. My problem is that I developed a COM component. I can use REGSVR32 c:\COMDLL\AuthEngineCOM.dll to register the COM in a computer which has Microsoft Visual Studio .NET 2003. But when I use REGSVR32 c:\COMDLL\AuthEngineCOM.dll in a computer without Microsoft Visual Studio .NET a error appear: LoadLibrary ("c:\COMDLL\AuthEngineCOM.dll") failed - The specified can not be found. Could somebody tell me which dependence that I missing? Thanks, William

    William

    S S L S D 6 Replies Last reply
    0
    • W Will8888888

      Please help me. My problem is that I developed a COM component. I can use REGSVR32 c:\COMDLL\AuthEngineCOM.dll to register the COM in a computer which has Microsoft Visual Studio .NET 2003. But when I use REGSVR32 c:\COMDLL\AuthEngineCOM.dll in a computer without Microsoft Visual Studio .NET a error appear: LoadLibrary ("c:\COMDLL\AuthEngineCOM.dll") failed - The specified can not be found. Could somebody tell me which dependence that I missing? Thanks, William

      William

      S Offline
      S Offline
      Sakthiu
      wrote on last edited by
      #2

      Hi You just copy your dll file "AuthEngineCOM.dll" and paste it into C:\\WINDOWS\System32\ After that try Run->regsvr32 AuthEngineCOM.dll bye

      S 1 Reply Last reply
      0
      • S Sakthiu

        Hi You just copy your dll file "AuthEngineCOM.dll" and paste it into C:\\WINDOWS\System32\ After that try Run->regsvr32 AuthEngineCOM.dll bye

        S Offline
        S Offline
        saania khan
        wrote on last edited by
        #3

        Hi, I have Visual Studio 2005 and my regsvr32 also fails with the message "testdll.dll was loaded, but the DllRegisterServer was not found". I have copied it to the Windows/System32 folder as well. Kindly help me out here. Thanks

        S L 2 Replies Last reply
        0
        • S saania khan

          Hi, I have Visual Studio 2005 and my regsvr32 also fails with the message "testdll.dll was loaded, but the DllRegisterServer was not found". I have copied it to the Windows/System32 folder as well. Kindly help me out here. Thanks

          S Offline
          S Offline
          Sakthiu
          wrote on last edited by
          #4

          Hi Every Dll file should contain DllRegisterServer Function. Here your Dll file test.dll might not have that DllRegisterServer Function inside. If so you can not register that file through RegSvr32.exe .

          1 Reply Last reply
          0
          • W Will8888888

            Please help me. My problem is that I developed a COM component. I can use REGSVR32 c:\COMDLL\AuthEngineCOM.dll to register the COM in a computer which has Microsoft Visual Studio .NET 2003. But when I use REGSVR32 c:\COMDLL\AuthEngineCOM.dll in a computer without Microsoft Visual Studio .NET a error appear: LoadLibrary ("c:\COMDLL\AuthEngineCOM.dll") failed - The specified can not be found. Could somebody tell me which dependence that I missing? Thanks, William

            William

            S Offline
            S Offline
            Stephen Hewitt
            wrote on last edited by
            #5

            At a guess you've built using the dll runtime and it's not present on the machine. Use a dependency viewer on the target machine and make sure all the DLLs you're component depends on are present. One can found here[^].

            Steve

            1 Reply Last reply
            0
            • S saania khan

              Hi, I have Visual Studio 2005 and my regsvr32 also fails with the message "testdll.dll was loaded, but the DllRegisterServer was not found". I have copied it to the Windows/System32 folder as well. Kindly help me out here. Thanks

              L Offline
              L Offline
              Lost User
              wrote on last edited by
              #6

              DllRegisterServer is one of the key function that needs to be implemented in a COM server (.DLL). This function needs to be exported from this DLL. Please check if you have exported this function from your DLL. Also, you can use Dependency Walker[^] to see the dependencies of your DLL as well the functions that are exported. I hope this helps. Let me know if you need more information.

              S o h a i l K a d i w a l a
              To Err Is Human; to Debug, Divine

              1 Reply Last reply
              0
              • W Will8888888

                Please help me. My problem is that I developed a COM component. I can use REGSVR32 c:\COMDLL\AuthEngineCOM.dll to register the COM in a computer which has Microsoft Visual Studio .NET 2003. But when I use REGSVR32 c:\COMDLL\AuthEngineCOM.dll in a computer without Microsoft Visual Studio .NET a error appear: LoadLibrary ("c:\COMDLL\AuthEngineCOM.dll") failed - The specified can not be found. Could somebody tell me which dependence that I missing? Thanks, William

                William

                L Offline
                L Offline
                Lost User
                wrote on last edited by
                #7

                You can use Dependency Walker [^] to see the dependencies of your DLL. You can find the missing dependencies using this.

                S o h a i l K a d i w a l a
                To Err Is Human; to Debug, Divine

                1 Reply Last reply
                0
                • W Will8888888

                  Please help me. My problem is that I developed a COM component. I can use REGSVR32 c:\COMDLL\AuthEngineCOM.dll to register the COM in a computer which has Microsoft Visual Studio .NET 2003. But when I use REGSVR32 c:\COMDLL\AuthEngineCOM.dll in a computer without Microsoft Visual Studio .NET a error appear: LoadLibrary ("c:\COMDLL\AuthEngineCOM.dll") failed - The specified can not be found. Could somebody tell me which dependence that I missing? Thanks, William

                  William

                  S Offline
                  S Offline
                  Shutaro
                  wrote on last edited by
                  #8

                  Hi William, try to use depend.exe with your dll in order to find the missing dependecy. Cheers Carlo

                  1 Reply Last reply
                  0
                  • W Will8888888

                    Please help me. My problem is that I developed a COM component. I can use REGSVR32 c:\COMDLL\AuthEngineCOM.dll to register the COM in a computer which has Microsoft Visual Studio .NET 2003. But when I use REGSVR32 c:\COMDLL\AuthEngineCOM.dll in a computer without Microsoft Visual Studio .NET a error appear: LoadLibrary ("c:\COMDLL\AuthEngineCOM.dll") failed - The specified can not be found. Could somebody tell me which dependence that I missing? Thanks, William

                    William

                    D Offline
                    D Offline
                    David Leyva
                    wrote on last edited by
                    #9

                    Hi I think the problem is the COM (dll) dependencies, maybe your COM has references to another dll that doesn't not exist in target pc. You can see referencias with Dependency Walker (Visual Studio Tools) David Leyva

                    1 Reply Last reply
                    0
                    • W Will8888888

                      Please help me. My problem is that I developed a COM component. I can use REGSVR32 c:\COMDLL\AuthEngineCOM.dll to register the COM in a computer which has Microsoft Visual Studio .NET 2003. But when I use REGSVR32 c:\COMDLL\AuthEngineCOM.dll in a computer without Microsoft Visual Studio .NET a error appear: LoadLibrary ("c:\COMDLL\AuthEngineCOM.dll") failed - The specified can not be found. Could somebody tell me which dependence that I missing? Thanks, William

                      William

                      E Offline
                      E Offline
                      EQ21
                      wrote on last edited by
                      #10

                      Hello William, I also had this problem. I solved it by using a tool called DependencyWalker. It is provided with the VisualStudio IDE. Analyze your COM-Dll with this tool and you will see the modules/dlls that are missing on your system. Cheers, Norbert ;)

                      1 Reply Last reply
                      0
                      Reply
                      • Reply as topic
                      Log in to reply
                      • Oldest to Newest
                      • Newest to Oldest
                      • Most Votes


                      • Login

                      • Don't have an account? Register

                      • Login or register to search.
                      • First post
                        Last post
                      0
                      • Categories
                      • Recent
                      • Tags
                      • Popular
                      • World
                      • Users
                      • Groups