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. how to use a lib file?

how to use a lib file?

Scheduled Pinned Locked Moved C / C++ / MFC
helptutorialquestion
6 Posts 4 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.
  • F Offline
    F Offline
    FASTian
    wrote on last edited by
    #1

    i have added the lib file to Object/Library modules: but when i compile the project i am getting this error LNK2001: unresolved external symbol _Px_SetOutputVolume i am not sure why this is happening any ideas how i should deal with this? thanks

    D A M 3 Replies Last reply
    0
    • F FASTian

      i have added the lib file to Object/Library modules: but when i compile the project i am getting this error LNK2001: unresolved external symbol _Px_SetOutputVolume i am not sure why this is happening any ideas how i should deal with this? thanks

      D Offline
      D Offline
      David Crow
      wrote on last edited by
      #2

      Are you using the correct .lib file that contains Px_SetOutputVolume()? Have you searched MSDN for LNK2001 and all the many reasons that can cause it?


      "When I was born I was so surprised that I didn't talk for a year and a half." - Gracie Allen

      1 Reply Last reply
      0
      • F FASTian

        i have added the lib file to Object/Library modules: but when i compile the project i am getting this error LNK2001: unresolved external symbol _Px_SetOutputVolume i am not sure why this is happening any ideas how i should deal with this? thanks

        A Offline
        A Offline
        Alexander M
        wrote on last edited by
        #3

        there are many possibilities for this error, but the most common ones are these: 1. the function is not included in the lib file 2. the declaration of the function does not match with the definison by the linker Don't try it, just do it! ;-)

        F 1 Reply Last reply
        0
        • F FASTian

          i have added the lib file to Object/Library modules: but when i compile the project i am getting this error LNK2001: unresolved external symbol _Px_SetOutputVolume i am not sure why this is happening any ideas how i should deal with this? thanks

          M Offline
          M Offline
          mirex
          wrote on last edited by
          #4

          might be also that .lib is not included :) check lib path.

          A 1 Reply Last reply
          0
          • M mirex

            might be also that .lib is not included :) check lib path.

            A Offline
            A Offline
            Alexander M
            wrote on last edited by
            #5

            when he gave the command of using the lib, then the linker gives an error message if it doesnt find the lib. Don't try it, just do it! ;-)

            1 Reply Last reply
            0
            • A Alexander M

              there are many possibilities for this error, but the most common ones are these: 1. the function is not included in the lib file 2. the declaration of the function does not match with the definison by the linker Don't try it, just do it! ;-)

              F Offline
              F Offline
              FASTian
              wrote on last edited by
              #6

              nopes still no luck in getting it working :( anyways thanks for your help guys... anyways downloaded the library and code from if anybody can download it from http://iaxclient.sourceforge.net/iaxcomm/iaxcomm-win-20040228.zip and give me some tips of using it in Visual C++ i will be greatfull.. its basically a open source softphone library using IAX protocol.. the library compiles ok...i just cant seem to be able to use the library in my other projects. Thanks

              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