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. Visual Basic
  4. How do you find out the CLSID

How do you find out the CLSID

Scheduled Pinned Locked Moved Visual Basic
comc++helpquestion
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
    Steve Thresher
    wrote on last edited by
    #1

    I have a DLL written in Visual Basic that contains 1 COM object. Could somebody please tell me how do I find out the CLSID and REFIID to pass to CoCreateInstance() to use the object in a C++ program. I have full access to the DLL source and a copy of Visual Basic. OLE View gives several CLSID's but I'm not sure which one to use. Thanks in advance for any help you can give. Steve.

    R 1 Reply Last reply
    0
    • S Steve Thresher

      I have a DLL written in Visual Basic that contains 1 COM object. Could somebody please tell me how do I find out the CLSID and REFIID to pass to CoCreateInstance() to use the object in a C++ program. I have full access to the DLL source and a copy of Visual Basic. OLE View gives several CLSID's but I'm not sure which one to use. Thanks in advance for any help you can give. Steve.

      R Offline
      R Offline
      Ravish
      wrote on last edited by
      #2

      In oleview the CLSID for the component is the one found above the coclass declaration. Interface ID is the one found above the interface declaration.

      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