error LNK2019: 无法解析的外部符号 _GdiplusStartup@12,该符号在函数 “public: __thiscall APPInit::APPInit(void)” (??0APPInit@@QAE@XZ) 中被引用
error LNK2019: 无法解析的外部符号 _GdiplusShutdown@4,该符号在函数 “public: __thiscall APPInit::~APPInit(void)” (??1APPInit@@QAE@XZ) 中被引用
解决方法:
添加lib库
#pragma comment (lib, “GdiPlus.lib”)
注意:使用GdiPlus处理图片要注意命名空间看是std还会GdiPlus。