0
votes

I am trying to build a VC++ (VS 2008) OCX (32 bit) project on a windows 8.1 64 bit machine. The OCX is getting built OK, but not loading when trying to register using regsvr32. Inspecting the binary using Dependency Walker shows MSVCR90.DLL as one of the missing dependencies. However i can see that this dll is available in the respective folder under C:\windows\winSxs area. Cant figure out why WinSxS is unable to locate the DLL.

The other dependencies that are reported as missing are

  1. API-MS-WIN-CORE-KERNEL32-PRIVATE-L1-1-1.DLL
  2. API-MS-WIN-CORE-PRIVATEPROFILE-L1-1-1.DLL
  3. API-MS-WIN-SERVICE-PRIVATE-L1-1-1.DLL
  4. API-MS-WIN-CORE-SHUTDOWN-L1-1-1.DLL
  5. EXT-MS-WIN-NTUSER-UICONTEXT-EXT-L1-1-0.DLL
  6. IESHIMS.DLL

Any idea what could be going wrong?

Thanks in advance..

1
Does this dll exist in System32 / SysWOW64 directories?Predelnik

1 Answers

0
votes

Your installation of MS VS 2008 is incorrect. Reinstall it completely or move the dll to SysWOW64 directory.

Or you can install MS VC 2008 redist: http://www.microsoft.com/en-us/download/details.aspx?id=29