1.下载解压GDI+开发包:
http://mnorst.download.youkuaiyun.com/
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;
本文详细介绍了如何在VC++环境中配置GDI+,包括下载与解压GDI+开发包、正确设置include及lib目录、在项目链接器中添加gdiplus.lib以及在stdafx.h中进行必要的预编译头文件设置。
4929

被折叠的 条评论
为什么被折叠?



