在编译源代码时,由于不小心删除了#include "GdiPlus.h"前面的#include <windows.h>头文件,导致出现错误:
error C2146: syntax error : missing ';' before identifier 'GraphicsState'
修改之后就可以了:
GDI+程序中,需在头文件#include<gdiplus.h>之前加上一行#include "GdiPlus.h"
在编译源代码时,由于不小心删除了#include "GdiPlus.h"前面的#include <windows.h>头文件,导致出现错误:
error C2146: syntax error : missing ';' before identifier 'GraphicsState'
修改之后就可以了:
GDI+程序中,需在头文件#include<gdiplus.h>之前加上一行#include "GdiPlus.h"

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