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. add a new dll, & lib files to my project

add a new dll, & lib files to my project

Scheduled Pinned Locked Moved C / C++ / MFC
helpquestionlounge
6 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.
  • K Offline
    K Offline
    kevincwong
    wrote on last edited by
    #1

    Hi, I just bought a third party SDK that came with some DLLs & LIBs. I wanted to keep those DLLs & LIBs in my product directory. So, I added my path to Project -> MyProeject Properities -> Linker -> General -> Additional Library Directories. But I still got the link error. I probably missed some steps. Can someone tell me what else I need to do? Thanks, Kevin

    K O 2 Replies Last reply
    0
    • K kevincwong

      Hi, I just bought a third party SDK that came with some DLLs & LIBs. I wanted to keep those DLLs & LIBs in my product directory. So, I added my path to Project -> MyProeject Properities -> Linker -> General -> Additional Library Directories. But I still got the link error. I probably missed some steps. Can someone tell me what else I need to do? Thanks, Kevin

      K Offline
      K Offline
      khan
      wrote on last edited by
      #2

      It seems that you did not add the names of the libraries in the Linker. After including the paths of the directories, you will also need to give the names of the .lib files. Or directly give the fully qualified path to the libs. In VC6 it is located in the Link tab -> Object/Library modules. In VC7 I think it is Linker->Input->Additional Dependencies. this is this.

      K 1 Reply Last reply
      0
      • K kevincwong

        Hi, I just bought a third party SDK that came with some DLLs & LIBs. I wanted to keep those DLLs & LIBs in my product directory. So, I added my path to Project -> MyProeject Properities -> Linker -> General -> Additional Library Directories. But I still got the link error. I probably missed some steps. Can someone tell me what else I need to do? Thanks, Kevin

        O Offline
        O Offline
        Owner drawn
        wrote on last edited by
        #3

        which version of VS are you using...


        Owner drawn Jesus Loves

        K 1 Reply Last reply
        0
        • O Owner drawn

          which version of VS are you using...


          Owner drawn Jesus Loves

          K Offline
          K Offline
          kevincwong
          wrote on last edited by
          #4

          VC6

          1 Reply Last reply
          0
          • K khan

            It seems that you did not add the names of the libraries in the Linker. After including the paths of the directories, you will also need to give the names of the .lib files. Or directly give the fully qualified path to the libs. In VC6 it is located in the Link tab -> Object/Library modules. In VC7 I think it is Linker->Input->Additional Dependencies. this is this.

            K Offline
            K Offline
            kevincwong
            wrote on last edited by
            #5

            I am using VC6. > you will also need to give the names of the .lib files. >Or directly give the fully qualified path to the libs Can you where to do so? >In VC6 it is located in the Link tab -> Object/Library modules. I checked the Project -> MyProeject Properities -> Linker But I don't see the Ojbect/Library moudles. Am I look at the wrong place? Thanks, Kevin

            K 1 Reply Last reply
            0
            • K kevincwong

              I am using VC6. > you will also need to give the names of the .lib files. >Or directly give the fully qualified path to the libs Can you where to do so? >In VC6 it is located in the Link tab -> Object/Library modules. I checked the Project -> MyProeject Properities -> Linker But I don't see the Ojbect/Library moudles. Am I look at the wrong place? Thanks, Kevin

              K Offline
              K Offline
              khan
              wrote on last edited by
              #6

              In VC6, the additional libraries paths is: Project->Settings->Link->Category : Input ->Additional Libraries path: ___ On the link tab, select Input from the Category combo box. Then you can plainly give the names of the lib files in the Object/library modules. Again, are you sure you are using VC6 and not VS .NET? Because as you said it is Myproject Properties ->Linker etc. this is this.

              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