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. how to use a com dll

how to use a com dll

Scheduled Pinned Locked Moved C / C++ / MFC
comhelptutorial
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.
  • V Offline
    V Offline
    vcseeker
    wrote on last edited by
    #1

    HI, I HAVE A COM DLL DTSPKG.DLL WITH ME.I WANT TO USE ITS INTERFACE ,I ABSOLUTELY HAVE NO IDEA ,HOW TO DO IT.I NEED HELP... THANKS AND REGARDS.

    S 1 Reply Last reply
    0
    • V vcseeker

      HI, I HAVE A COM DLL DTSPKG.DLL WITH ME.I WANT TO USE ITS INTERFACE ,I ABSOLUTELY HAVE NO IDEA ,HOW TO DO IT.I NEED HELP... THANKS AND REGARDS.

      S Offline
      S Offline
      si_69
      wrote on last edited by
      #2

      you can view the contents of the dll in the OLE/COM Object Viewer the dll that you need will probably be in the type librarys part you can the open up the dll by double clicking on it, copy whats in there to the clipboard back in visual studio create a new idl file, paste in the contents of the clipboard, save the file. add this to your project and compile this will then generate the headers (.h) you need to call your dll hope this helps si

      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