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. C / C++ / MFC
  4. Regsvr32 writes an error

Regsvr32 writes an error

Scheduled Pinned Locked Moved C / C++ / MFC
helpc++comsysadminquestion
9 Posts 5 Posters 0 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.
  • R Offline
    R Offline
    Rassul Yunussov
    wrote on last edited by
    #1

    I wrote a COM Server using ATL wizard, so i made a DLL, and want to use it on another machine - but, when i try to register my server using regsvr32 i have next message: "LoadLibrary("the way to my dll") failed. The specified module could not be found". Where the problem is???

    R D M B 4 Replies Last reply
    0
    • R Rassul Yunussov

      I wrote a COM Server using ATL wizard, so i made a DLL, and want to use it on another machine - but, when i try to register my server using regsvr32 i have next message: "LoadLibrary("the way to my dll") failed. The specified module could not be found". Where the problem is???

      R Offline
      R Offline
      Renjith Ramachandran
      wrote on last edited by
      #2

      is it a COM DLL ? or ordinary one ? programming in VB is like riding a kiddy bike, while programming in C++ is like driving a Formula 1 racing car

      B 1 Reply Last reply
      0
      • R Rassul Yunussov

        I wrote a COM Server using ATL wizard, so i made a DLL, and want to use it on another machine - but, when i try to register my server using regsvr32 i have next message: "LoadLibrary("the way to my dll") failed. The specified module could not be found". Where the problem is???

        D Offline
        D Offline
        David Crow
        wrote on last edited by
        #3

        Does the path/file specified in the call to LoadLibrary() exist? Are you using an absolute or relative path name?


        "When I was born I was so surprised that I didn't talk for a year and a half." - Gracie Allen

        1 Reply Last reply
        0
        • R Rassul Yunussov

          I wrote a COM Server using ATL wizard, so i made a DLL, and want to use it on another machine - but, when i try to register my server using regsvr32 i have next message: "LoadLibrary("the way to my dll") failed. The specified module could not be found". Where the problem is???

          M Offline
          M Offline
          Mike Beckerleg
          wrote on last edited by
          #4

          Assuming you have specified the path to your DLL correctly then your module is probably dependent on another module that is not present on the second machine. Check you are using a release version, or have installed the relevant debug libraries to the second machine. Try using the depends utility to see what modules your DLL is dependent on. Mike

          R 2 Replies Last reply
          0
          • M Mike Beckerleg

            Assuming you have specified the path to your DLL correctly then your module is probably dependent on another module that is not present on the second machine. Check you are using a release version, or have installed the relevant debug libraries to the second machine. Try using the depends utility to see what modules your DLL is dependent on. Mike

            R Offline
            R Offline
            Rassul Yunussov
            wrote on last edited by
            #5

            As i understood the machine i want to install on my dll, doesn't have some "dll's", that my program is required. Yes in my COM dll i have deal with MSXML and RAPI. I'll try to install both of them. But i have some questions about your message: what is the "release version" - is it options of compilor that i usually use where i can change - debug or release in visual studio?, and another question , what is the "relevant debug libraries"?

            M 1 Reply Last reply
            0
            • M Mike Beckerleg

              Assuming you have specified the path to your DLL correctly then your module is probably dependent on another module that is not present on the second machine. Check you are using a release version, or have installed the relevant debug libraries to the second machine. Try using the depends utility to see what modules your DLL is dependent on. Mike

              R Offline
              R Offline
              Rassul Yunussov
              wrote on last edited by
              #6

              So i installed active sync on machine, but nothing changed, i still got this error.

              1 Reply Last reply
              0
              • R Rassul Yunussov

                I wrote a COM Server using ATL wizard, so i made a DLL, and want to use it on another machine - but, when i try to register my server using regsvr32 i have next message: "LoadLibrary("the way to my dll") failed. The specified module could not be found". Where the problem is???

                B Offline
                B Offline
                BAIJUMAX
                wrote on last edited by
                #7

                Hi, Check whether your Dll using Another Dll in the Module.copy all dependent .dll register all of them then try to register your's.Use dependecy walker. or u can create a DCOM server that's reside in your computer. by baijumax

                1 Reply Last reply
                0
                • R Renjith Ramachandran

                  is it a COM DLL ? or ordinary one ? programming in VB is like riding a kiddy bike, while programming in C++ is like driving a Formula 1 racing car

                  B Offline
                  B Offline
                  BAIJUMAX
                  wrote on last edited by
                  #8

                  hi, ranjith , u are a great Puleeeeee da.I believe u r riding on Tiger. by baijumax

                  1 Reply Last reply
                  0
                  • R Rassul Yunussov

                    As i understood the machine i want to install on my dll, doesn't have some "dll's", that my program is required. Yes in my COM dll i have deal with MSXML and RAPI. I'll try to install both of them. But i have some questions about your message: what is the "release version" - is it options of compilor that i usually use where i can change - debug or release in visual studio?, and another question , what is the "relevant debug libraries"?

                    M Offline
                    M Offline
                    Mike Beckerleg
                    wrote on last edited by
                    #9

                    Rassul Yunussov wrote: what is the "release version" - is it options of compilor that i usually use where i can change - debug or release in visual studio? Yes I meant the debug/release options in Visual Studio. These control whether debug information is included in your DLL and also whether your DLL uses the debug or release versions of DLLs. This will affect whether it is using for example msvcrt.dll (release) or msvcrtd.dll (debug). The best thing to do is use the Depends utility that is included with Visual Studio and point it at your COM DLL. It will then show you all the DLLs that your DLL depends on. You then need to ensure that all these DLLs are available and registered on the second machine. Mike

                    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