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 .lib

Add .lib

Scheduled Pinned Locked Moved C / C++ / MFC
helptutorial
4 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
    sunit5
    wrote on last edited by
    #1

    How to add lib file in ur program other than project->setting->link,like what one does for header file(#include <stdio.h>) Pls help me.Thanx in advance never say die

    T T 2 Replies Last reply
    0
    • S sunit5

      How to add lib file in ur program other than project->setting->link,like what one does for header file(#include <stdio.h>) Pls help me.Thanx in advance never say die

      T Offline
      T Offline
      toxcct
      wrote on last edited by
      #2

      #pragma comment(lib, "Test.lib")


      TOXCCT >>> GEII power
      [toxcct][VisualCalc 2.20][VCalc 3.0 soon...]

      S 1 Reply Last reply
      0
      • T toxcct

        #pragma comment(lib, "Test.lib")


        TOXCCT >>> GEII power
        [toxcct][VisualCalc 2.20][VCalc 3.0 soon...]

        S Offline
        S Offline
        sunit5
        wrote on last edited by
        #3

        thanx a lot never say die

        1 Reply Last reply
        0
        • S sunit5

          How to add lib file in ur program other than project->setting->link,like what one does for header file(#include <stdio.h>) Pls help me.Thanx in advance never say die

          T Offline
          T Offline
          ThatsAlok
          wrote on last edited by
          #4

          # pragma directive is one of best way to include the lib file.. but you can also add to you rpoject by just adding libaray file same way you add .cpp and .h file

          "Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow

          cheers, Alok Gupta VC Forum Q&A :- I/ IV

          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