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. About Dlls?

About Dlls?

Scheduled Pinned Locked Moved C / C++ / MFC
tutorialquestion
3 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.
  • Z Offline
    Z Offline
    Zero_One_ADO
    wrote on last edited by
    #1

    Hello, I want to create a DLL and Use it by #import directive (Any Simple Link or Example?) Best Wishes, Thanks.

    4 M 2 Replies Last reply
    0
    • Z Zero_One_ADO

      Hello, I want to create a DLL and Use it by #import directive (Any Simple Link or Example?) Best Wishes, Thanks.

      4 Offline
      4 Offline
      4apai
      wrote on last edited by
      #2

      "The #import directive is used to incorporate information from a type library. The content of the type library is converted into C++ classes, mostly describing the COM interfaces." do you want to create COM type library? 4apai There're no impossible tasks. There're tasks that required infinite period of time.

      1 Reply Last reply
      0
      • Z Zero_One_ADO

        Hello, I want to create a DLL and Use it by #import directive (Any Simple Link or Example?) Best Wishes, Thanks.

        M Offline
        M Offline
        Michael P Butler
        wrote on last edited by
        #3

        Zero_One_ADO wrote: I want to create a DLL and Use it by #import directive Then you'll need a COM dll. I recommend that you read about ATL on MSDN, as it is the simplest way of creating COM dlls without having to understand all the workings. The wizards pretty much do it all for you. Michael CP Blog [^]

        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