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. ATL / WTL / STL
  4. Type library without coclass

Type library without coclass

Scheduled Pinned Locked Moved ATL / WTL / STL
c++comtutorial
4 Posts 3 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.
  • P Offline
    P Offline
    pain
    wrote on last edited by
    #1

    Hi all experts I have a few COM type libraries from a vendor . In the type libraries, there is only interfaces without coclass I am using visual c++, can any body show me a sample or teach me how to use the interfaces thanks

    D 1 Reply Last reply
    0
    • P pain

      Hi all experts I have a few COM type libraries from a vendor . In the type libraries, there is only interfaces without coclass I am using visual c++, can any body show me a sample or teach me how to use the interfaces thanks

      D Offline
      D Offline
      darkbyte
      wrote on last edited by
      #2

      I'm going to assume that you have the DLL or EXE that belong to each typelib. Are you able to register the DLL/EXE ? Can you create any object using VBA (Office) or VB if you add a reference to the typelib ? DarkByte

      P 1 Reply Last reply
      0
      • D darkbyte

        I'm going to assume that you have the DLL or EXE that belong to each typelib. Are you able to register the DLL/EXE ? Can you create any object using VBA (Office) or VB if you add a reference to the typelib ? DarkByte

        P Offline
        P Offline
        pain
        wrote on last edited by
        #3

        Hi : i have a set of dll that comes with the type lib. yes i can register them. however i have also do an object view on all the dll none of them contain the coclass referencing to the tlb no i can't create any object using VBA any other clue thanks

        V 1 Reply Last reply
        0
        • P pain

          Hi : i have a set of dll that comes with the type lib. yes i can register them. however i have also do an object view on all the dll none of them contain the coclass referencing to the tlb no i can't create any object using VBA any other clue thanks

          V Offline
          V Offline
          vprashu
          wrote on last edited by
          #4

          Your DLL/EXE will also have the type information. Just reference that and you will be all set. You can use OLEView to check if the DLL/EXE has the type information in it. prashu

          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