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. newb question:

newb question:

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

    how do you add libs to a project in msvc? do you add the file itself to the project or include the name of said lib in the list of included libs in the project settings.

    P L 2 Replies Last reply
    0
    • S stupration

      how do you add libs to a project in msvc? do you add the file itself to the project or include the name of said lib in the list of included libs in the project settings.

      P Offline
      P Offline
      Paul M Watt
      wrote on last edited by
      #2

      You can do it either way, but I prefer to do it in the project settings.


      Build a man a fire, and he will be warm for a day
      Light a man on fire, and he will be warm for the rest of his life!

      1 Reply Last reply
      0
      • S stupration

        how do you add libs to a project in msvc? do you add the file itself to the project or include the name of said lib in the list of included libs in the project settings.

        L Offline
        L Offline
        Lost User
        wrote on last edited by
        #3

        Sometimes (always) I'm lazy... so I add libs via include file, here an snip from my OpenGL project: #pragma comment(lib, "OpenGL32.lib") //link with OpenGL32 Library (VC6 Sytnax) #pragma comment(lib, "Glu32.lib") //link with Glu32 Library Hoep it helps, Moak

        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