Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

LNK2001 Problems

Status
Not open for further replies.

macondo

Programmer
Aug 17, 2001
1
US
I created a new windows app. (C++) and tried to call some functions from the library #include <commctrl.h>
I get the following linking errors.
Can anyone please help?

Compiling resources...
Compiling...
StdAfx.cpp
Compiling...
TestApp3.cpp
Linking...
TestApp3.obj : error LNK2001: unresolved external symbol __imp__ImageList_GetImageCount@4
TestApp3.obj : error LNK2001: unresolved external symbol __imp__ImageList_Add@12
TestApp3.obj : error LNK2001: unresolved external symbol __imp__ImageList_Create@20
TestApp3.obj : error LNK2001: unresolved external symbol __imp__InitCommonControls@0
Release/TestApp3.exe : fatal error LNK1120: 4 unresolved externals
Error executing link.exe.
 
add comctl32.lib to Project->Settings->Link->Object/Library modules John Fill
1c.bmp


ivfmd@mail.md
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top