shri1609
05-04-2010, 11:20 PM
hi ,
i am using MSDN library functions in my c file. I want to create a GUI using some of the following functions like
CreateWindowEx
ShowWindow
AdjustWindowRect
LoadCursor
SetWindowPos
CreatePen
TextOut
LineTo
MoveToEx etc....
but whn i build the project i'm getting link error while creating .obj file for all of the functions which ever i'm using.
the errors are like:
error LNK2001: unresolved external symbol __imp__GetMessageA@16
win.obj : error LNK2001: unresolved external symbol __imp__SetTimer@16
win.obj : error LNK2001: unresolved external symbol __imp__UpdateWindow@4
win.obj : error LNK2001: unresolved external symbol __imp__ShowWindow@8
win.obj : error LNK2001: unresolved external symbol __imp__SetWindowPos@28
like this fr all of the functions which are used...
if anyone cm across these type of problems plz help...
i am using MSDN library functions in my c file. I want to create a GUI using some of the following functions like
CreateWindowEx
ShowWindow
AdjustWindowRect
LoadCursor
SetWindowPos
CreatePen
TextOut
LineTo
MoveToEx etc....
but whn i build the project i'm getting link error while creating .obj file for all of the functions which ever i'm using.
the errors are like:
error LNK2001: unresolved external symbol __imp__GetMessageA@16
win.obj : error LNK2001: unresolved external symbol __imp__SetTimer@16
win.obj : error LNK2001: unresolved external symbol __imp__UpdateWindow@4
win.obj : error LNK2001: unresolved external symbol __imp__ShowWindow@8
win.obj : error LNK2001: unresolved external symbol __imp__SetWindowPos@28
like this fr all of the functions which are used...
if anyone cm across these type of problems plz help...