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