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 fails on some hosts

RegSvr32 fails on some hosts

Scheduled Pinned Locked Moved COM
c++visual-studioquestioncsharpcom
3 Posts 2 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.
  • M Offline
    M Offline
    Marshall
    wrote on last edited by
    #1

    I’m stuck on something I’ve solved before but can’t remember how to solve now. I have a COM object (unmanaged C++) that I am installing on several machines. It works fine on machines that have Visual Studio installed. But I can’t register the object on machines without VS. When I try to register it, regsvr32 says “the specified module could not be found.” I am sure this refers to a DLL the object uses indirectly – not the COM object DLL itself. I copied over the usual suspects – mfc, atl, etc. But I haven’t hit the right one. Suggestions? How can I get regsvr32 to tell me which module it can’t find? BTW, I have tried both release & debug builds of the object with no change. Thanks! Marshall If you continue to do the same things you always did,
    don't be surprised if you get the same results you always got.

    M 1 Reply Last reply
    0
    • M Marshall

      I’m stuck on something I’ve solved before but can’t remember how to solve now. I have a COM object (unmanaged C++) that I am installing on several machines. It works fine on machines that have Visual Studio installed. But I can’t register the object on machines without VS. When I try to register it, regsvr32 says “the specified module could not be found.” I am sure this refers to a DLL the object uses indirectly – not the COM object DLL itself. I copied over the usual suspects – mfc, atl, etc. But I haven’t hit the right one. Suggestions? How can I get regsvr32 to tell me which module it can’t find? BTW, I have tried both release & debug builds of the object with no change. Thanks! Marshall If you continue to do the same things you always did,
      don't be surprised if you get the same results you always got.

      M Offline
      M Offline
      Michael Dunn
      wrote on last edited by
      #2

      See the forum FAQ: 8.2 A program I've written doesn't load when it's run on a computer without Visual C++ installed. Why?[^] --Mike-- Visual C++ MVP :cool: LINKS~! Ericahist | NEW!! PimpFish | CP SearchBar v3.0 | C++ Forum FAQ

      M 1 Reply Last reply
      0
      • M Michael Dunn

        See the forum FAQ: 8.2 A program I've written doesn't load when it's run on a computer without Visual C++ installed. Why?[^] --Mike-- Visual C++ MVP :cool: LINKS~! Ericahist | NEW!! PimpFish | CP SearchBar v3.0 | C++ Forum FAQ

        M Offline
        M Offline
        Marshall
        wrote on last edited by
        #3

        This is exactly what I needed. I absolutely should have remembered the good ol' dependency walker from yester-year. Just when COM was starting to be a vague memory, it came back and reminded me just how much trouble it can cause! Thanks!:-D If you continue to do the same things you always did,
        don't be surprised if you get the same results you always got.

        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