17.6.3 添加相关的宏定义
在工程的stdafx.h中添一个宏定义如下,并包含GDI+的头文件。
#ifndefULONG_PTR #define ULONG_PTR unsigned long* #endif #include <gdiplus.h>