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. Generating a TLB file from an IDL file ?(How to use COM DLL)

Generating a TLB file from an IDL file ?(How to use COM DLL)

Scheduled Pinned Locked Moved C / C++ / MFC
comtutorialcsharpvisual-studioquestion
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.
  • K Offline
    K Offline
    Kushagra Tiwari
    wrote on last edited by
    #1

    hello I have   COM DLL and I want to include it in my code. I got its IDL file from OLE VIEW . Saved it to disc and now I want to make it into a tlb file which when imported in my project will generate a .tlh and .tli file and thus then I will be able to   use its using   CO create instance as only then I will have the interfaces available through it avaialable to me ... Does some body know any other method or cann some body guide mw HOw this can be done either using midl.exe or through visual Studio Regard, Kushagra

    G 1 Reply Last reply
    0
    • K Kushagra Tiwari

      hello I have   COM DLL and I want to include it in my code. I got its IDL file from OLE VIEW . Saved it to disc and now I want to make it into a tlb file which when imported in my project will generate a .tlh and .tli file and thus then I will be able to   use its using   CO create instance as only then I will have the interfaces available through it avaialable to me ... Does some body know any other method or cann some body guide mw HOw this can be done either using midl.exe or through visual Studio Regard, Kushagra

      G Offline
      G Offline
      Garth J Lancaster
      wrote on last edited by
      #2

      check out using the #import directive 'g'

      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