how to use a lib file?
-
-
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
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
-
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
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! ;-)
-
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
-
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! ;-)
-
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! ;-)
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