您的位置:首页 > 其它

AtlSample1.obj : error LNK2001: unresolved external symbol __imp__ImageList_ReplaceIcon@12

2011-06-15 10:52 543 查看
做http://www.vckbase.com/document/viewdoc/?id=1389这篇文章的例子时,需要添加#include <CommCtrl.h>文件 ,出现了 下面问题:



AtlSample1.obj : error LNK2001: unresolved external symbol __imp__ImageList_ReplaceIcon@12

AtlSample1.obj : error LNK2001: unresolved external symbol __imp__ImageList_Create@20

Debug/AtlSample1.dll : fatal error LNK1120: 2 unresolved externals



错误解决方法:



Header commctrl.h

Import library comctl32.lib Imgctl.lib

在 stdafx.h这样加
入。。。

#pragma comment( lib, "comctl32.lib" )
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: 
相关文章推荐