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. COM Exception - another try here

COM Exception - another try here

Scheduled Pinned Locked Moved COM
helpcomcsharpc++windows-admin
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.
  • S Offline
    S Offline
    Sara123
    wrote on last edited by
    #1

    I have a com object, created on c++ (using VS2005) And another c# library that referenced to that object. When I try to create new object - I get the follows: Retrieving the COM class factory for component with CLSID {B1901D41-……….} failed due to the following error: 80040111 I googled for that error, and only found it out when using external programs, like Excel, IExplorer, etc. I’m afraid in one of my tries I destroyed something in the registry… Can someone help me with my problem? This is driving me crazy… Moreover, I am looking for a good site who explains clearly about the COM objects, interop, and the correct use of them. Thanks, Sara

    B 1 Reply Last reply
    0
    • S Sara123

      I have a com object, created on c++ (using VS2005) And another c# library that referenced to that object. When I try to create new object - I get the follows: Retrieving the COM class factory for component with CLSID {B1901D41-……….} failed due to the following error: 80040111 I googled for that error, and only found it out when using external programs, like Excel, IExplorer, etc. I’m afraid in one of my tries I destroyed something in the registry… Can someone help me with my problem? This is driving me crazy… Moreover, I am looking for a good site who explains clearly about the COM objects, interop, and the correct use of them. Thanks, Sara

      B Offline
      B Offline
      Baltoro
      wrote on last edited by
      #2

      You might read this: NET and COM Interoperability[^] If you go over to MSDN and use the search feature, the return (for the 80040111 COM error) is:CLASS_E_CLASSNOTAVAILABLE[^]

      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