做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" )