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. Managed C++/CLI
  4. adding dll

adding dll

Scheduled Pinned Locked Moved Managed C++/CLI
question
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.
  • R Offline
    R Offline
    rahultaing
    wrote on last edited by
    #1

    can anyone tell me how do we add a dll to our project?

    2 1 Reply Last reply
    0
    • R rahultaing

      can anyone tell me how do we add a dll to our project?

      2 Offline
      2 Offline
      2bee
      wrote on last edited by
      #2

      Hi, i guess you were talking about a managed c++ dll and you would like to add it to a clr project in VS2005. If so, then you'll have to do the following: 1. go to "Project->References", click on "Add Reference" 2. Browse to your dll and add it 3. reference the namespace of your dll e.g. using namespace MyDllNamespace; using namespace MyDllNamespace::Net; ... regards Tobias :cool:

      G 1 Reply Last reply
      0
      • 2 2bee

        Hi, i guess you were talking about a managed c++ dll and you would like to add it to a clr project in VS2005. If so, then you'll have to do the following: 1. go to "Project->References", click on "Add Reference" 2. Browse to your dll and add it 3. reference the namespace of your dll e.g. using namespace MyDllNamespace; using namespace MyDllNamespace::Net; ... regards Tobias :cool:

        G Offline
        G Offline
        George L Jackson
        wrote on last edited by
        #3

        In addition to Tobias' info, you can also use #using instead of using "Add Reference" in the Project Properties: Example: #using

        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