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. COM DLL registration problem

COM DLL registration problem

Scheduled Pinned Locked Moved C / C++ / MFC
helpc++comsalesregex
2 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.
  • V Offline
    V Offline
    vikramj
    wrote on last edited by
    #1

    Hi Friends, I am facing a problem in registering my COM DLL. We have build an Addin for a CAD application, which is a COM addin. At some customer site, the addin dll is not getting registered. When we try to register using Regsvr32.exe, the exe returns an error code of 0x000000B6. The error description is "The operating system cannot run %1." when viwed with 'Error Lookup' tool. I searched on google newsgroups and i found 1 article stating this error occurs when the ATL.dll on the target machine does not match with the ATL.dll with which the addin dll (the DLL being registered) was built. And we have to use the mindependency build to remove the ATL.dll dependency. Accordingly i found my machine has ATL.dll with version 3.0xxx. where as the client's machine has ATL.dll 2.0xxx. I replaced the ATL.dll with the one that i had and tried to register. Still the problem persists. Any clues on the above problem ? This is the most urgent and most important issue for us. Thanks and Regards, Vikram

    K 1 Reply Last reply
    0
    • V vikramj

      Hi Friends, I am facing a problem in registering my COM DLL. We have build an Addin for a CAD application, which is a COM addin. At some customer site, the addin dll is not getting registered. When we try to register using Regsvr32.exe, the exe returns an error code of 0x000000B6. The error description is "The operating system cannot run %1." when viwed with 'Error Lookup' tool. I searched on google newsgroups and i found 1 article stating this error occurs when the ATL.dll on the target machine does not match with the ATL.dll with which the addin dll (the DLL being registered) was built. And we have to use the mindependency build to remove the ATL.dll dependency. Accordingly i found my machine has ATL.dll with version 3.0xxx. where as the client's machine has ATL.dll 2.0xxx. I replaced the ATL.dll with the one that i had and tried to register. Still the problem persists. Any clues on the above problem ? This is the most urgent and most important issue for us. Thanks and Regards, Vikram

      K Offline
      K Offline
      Kannan Kalyanaraman
      wrote on last edited by
      #2

      Did you check whether you have all the dependencies for your COM dll on the client's machine. Also, if possible try doing the registration through some installer (like installshield). I had a similar problem, when I had previous versions of the same COM Dll on the user's machine, it went fine through a installer. Cheers, Kannan

      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