求帮忙编译一个资料.

求帮忙编译一个文件...
家里网络实在太慢,没有VS编译器,现在需要大家帮忙编译一个文件

原帖地址:http://m.xuexibar.cn/NewsView.aspx?CID=100092746&barnum=600010&type=165

源码贴出来


#include <ShellAPI.h>
#include <CommCtrl.h>
#include <commoncontrols.h>
#include <windows.h>
EXTERN_C  _declspec(dllexport) HICON getJumbIcon(CONST TCHAR *filePath)
{
 
 
 // Get the icon index using SHGetFileInfo
 SHFILEINFOW sfi = {0};
 SHGetFileInfo(filePath, -1, &sfi, sizeof(sfi), SHGFI_SYSICONINDEX);
 
 // Retrieve the system image list.
 // To get the 48x48 icons, use SHIL_EXTRALARGE
 // To get the 256x256 icons (Vista only), use SHIL_JUMBO
 IImageList* imageList;
 
 HRESULT hResult = SHGetImageList(SHIL_JUMBO, IID_IImageList, (void**)&imageList);
 
 if (hResult == S_OK) {
  // Get the icon we need from the list. Note that the HIMAGELIST we retrieved
  // earlier needs to be casted to the IImageList interface before use.
  HICON hIcon;
  hResult = (imageList)->GetIcon(sfi.iIcon, ILD_TRANSPARENT, &hIcon);
 
  if (hResult == S_OK) {
   // Do something with the icon here.
   return hIcon;
  }
 }
}



原帖地址:http://m.xuexibar.cn/NewsView.aspx?CID=100092746&barnum=600010&type=165
C 编译器 图标

------解决方案--------------------
下载地址