1.下载解压GDI+开发包:
http://mnorst.download.csdn.net/
2.正确设置include & lib 目录
3.在project, setting, link, object/modules libaray里面输入gdiplus.lib.
4.在 stdafx.h 添加:
#ifndef ULONG_PTR
#define ULONG_PTR unsigned long*
#endif
#include <GdiPlus.h>
using namespace Gdiplus;