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
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. how to import a library into my MFC project?

how to import a library into my MFC project?

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

    Please show me how to import a *.lib file into my MCF project? Is it possible to view a *.lib file using VC++ ?

    C RaviBeeR 2 Replies Last reply
    0
    • P peter ho

      Please show me how to import a *.lib file into my MCF project? Is it possible to view a *.lib file using VC++ ?

      C Offline
      C Offline
      Chris Losinger
      wrote on last edited by
      #2

      Project / Settings | Link, Import Object/Modules peter ho wrote: Is it possible to view a *.lib file using VC++ ? if you mean "can i find out which functions are available?" then no, there is no way to do that from VC. you will need the header files (.h)that should be included with any library. -c


      ABSURDITY: A statement or belief manifestly inconsistent with one's own opinion.

      Smaller Animals Software

      1 Reply Last reply
      0
      • P peter ho

        Please show me how to import a *.lib file into my MCF project? Is it possible to view a *.lib file using VC++ ?

        RaviBeeR Offline
        RaviBeeR Offline
        RaviBee
        wrote on last edited by
        #3

        peter ho wrote: Is it possible to view a *.lib file using VC++ ? No. As Chris pointed out, you'll need the library's header file to call functions in the lib. If you're just curious and want to know what functions are exported, you can use the "nm" command that's part of the MKS toolkit. /ravi "There is always one more bug..." http://www.ravib.com ravib@ravib.com

        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