VC6 中使用GDIPlus

来源:互联网 发布:毛利润算法 编辑:程序博客网 时间:2024/04/28 23:39

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;

原创粉丝点击