今天在http://www.csdn.net/develop/read_article.asp?id=22243下载了一个缩略图显示的程序,编译时出现了下面的错误:
C:\Documents and Settings\sky\桌面\picview\picview\PicView\PicView.cpp(167) : error C2065: 'ILFree' : undeclared identifier
C:\Documents and Settings\sky\桌面\picview\picview\PicView\PicView.cpp(179) : error C2065: 'SHGetFolderLocation' : undeclared identifier
C:\Documents and Settings\sky\桌面\picview\picview\PicView\PicView.cpp(188) : error C2065: 'BIF_USENEWUI' : undeclared identifier
C:\Documents and Settings\sky\桌面\picview\picview\PicView\PicView.cpp(205) : error C2065: 'StrRetToBuf' : undeclared identifier
C:\Documents and Settings\sky\桌面\picview\picview\PicView\PicView.cpp(215) : error C2065: 'SHBindToParent' : undeclared identifier
C:\Documents and Settings\sky\桌面\picview\picview\PicView\PicView.cpp(264) : error C2065: 'ILClone' : undeclared identifier
C:\Documents and Settings\sky\桌面\picview\picview\PicView\PicView.cpp(264) : error C2440: '=' : cannot convert from 'int' to 'struct _ITEMIDLIST *'
        Conversion from integral type to pointer type requires reinterpret_cast, C-style cast or function-style cast
C:\Documents and Settings\sky\桌面\picview\picview\PicView\PicView.cpp(294) : error C2065: 'SFGAOF' : undeclared identifier
C:\Documents and Settings\sky\桌面\picview\picview\PicView\PicView.cpp(294) : error C2146: syntax error : missing ';' before identifier 'rgfInOut'
C:\Documents and Settings\sky\桌面\picview\picview\PicView\PicView.cpp(294) : error C2065: 'rgfInOut' : undeclared identifier
PicViewDoc.cpp
C:\Documents and Settings\sky\桌面\picview\picview\PicView\PicViewDoc.cpp(45) : error C2065: 'CSIDL_MYPICTURES' : undeclared identifier
C:\Documents and Settings\sky\桌面\picview\picview\PicView\PicViewDoc.cpp(47) : error C2065: 'ILFree' : undeclared identifier
C:\Documents and Settings\sky\桌面\picview\picview\PicView\PicViewDoc.cpp(55) : error C2065: 'SHILCreateFromPath' : undeclared identifier
PicViewView.cpp
C:\Documents and Settings\sky\桌面\picview\picview\PicView\PicViewView.cpp(139) : error C2065: 'ILClone' : undeclared identifier
C:\Documents and Settings\sky\桌面\picview\picview\PicView\PicViewView.cpp(139) : error C2440: '=' : cannot convert from 'int' to 'struct _ITEMIDLIST *'
        Conversion from integral type to pointer type requires reinterpret_cast, C-style cast or function-style cast
C:\Documents and Settings\sky\桌面\picview\picview\PicView\PicViewView.cpp(251) : error C2065: 'ILCombine' : undeclared identifier
C:\Documents and Settings\sky\桌面\picview\picview\PicView\PicViewView.cpp(251) : error C2440: 'initializing' : cannot convert from 'int' to 'struct _ITEMIDLIST *'
        Conversion from integral type to pointer type requires reinterpret_cast, C-style cast or function-style cast
C:\Documents and Settings\sky\桌面\picview\picview\PicView\PicViewView.cpp(309) : error C2440: 'initializing' : cannot convert from 'int' to 'struct _ITEMIDLIST *'
        Conversion from integral type to pointer type requires reinterpret_cast, C-style cast or function-style cast
请问题是不是要用到什么库或者是头文件的?