Sarah Weinberger
Sarah Weinberger

Reputation: 15551

How do I Resolve a RegSvr32 Failed to Load 9009 error on my OCX?

I have a solution, which successfully builds/runs on Windows 7. I am porting the solution to Windows 10. DigiCert no longer supports Win7, etc.

My OCX (ActiveX) project successfully builds, however when I go to register the OCX, I receive

"The module failed to load. The specified module could not be found"

The project contains no references.

I did research and saw many articles, most of them saying the same thing and none helpful. Here is what I have done.

Note: I know that I have a 64-bit OCX, given the obvious path "x64\Debug\DriveOps.ocx", but in my quest to try every option that people mentioned both here on SO and on a general Google search, I tried, as mentioned below, the SysWOW64 and regular regsvr32.exe, just so that I can be thorough, even though the SysWOW64 is for 32-bit DLLs/OCX files.

I was hoping to debug the entry points by running the OCX by specifying the exe to use, in this case regsvr32.exe, however either because OCX debugging does not support this feature or VS2010 does not. I know that newer versions of Visual Studio can debug DLLs by specifying an exe, as I have done that many times. No luck this route.

Thoughts?

Upvotes: 0

Views: 82

Answers (0)

Related Questions