Pelles C forum
Pelles C => General discussions => Topic started by: tpekar on February 26, 2010, 05:12:29 PM
-
Help! I have created a couple of .lib objects. When I try to link them in at compile time and create an .exe, I get the message "POLINK: error: Unresolved external symbol" followed by '_myfunction'. where myfunction is my function in the .lib object. I have the .lib objects in the \program files\PellesC\Lib folder. What am I doing wrong?
-
You should add your.lib in Linker Tab.
Menu Project -> Options -> Linker
-
Another option is to use the #pragma statement :
#pragma lib "user32.lib"