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

com

Scheduled Pinned Locked Moved COM
c++comsysadmin
2 Posts 2 Posters 8 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.
  • L Offline
    L Offline
    Lost User
    wrote on last edited by
    #1

    HI, Say I have a MFC application. On InitInstance or InitDialog I want to check if there is any COM server(registered) that belongs to the application.(I don't know any CLSID)Is it possible to do that. If so then I wan't to add an item in the menu for each com server I find.

    A 1 Reply Last reply
    0
    • L Lost User

      HI, Say I have a MFC application. On InitInstance or InitDialog I want to check if there is any COM server(registered) that belongs to the application.(I don't know any CLSID)Is it possible to do that. If so then I wan't to add an item in the menu for each com server I find.

      A Offline
      A Offline
      Alex Gorev
      wrote on last edited by
      #2

      Hi, Information about registered COM objects is stored in the registry. You can try the CLSIDFromProgID function to check if specified ProgID is registered. You can also create an instance of the object and then release it, to be 100% sure that all pieces in place. Regards, Alex Gorev, Dundas Software.

      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