GDI+头文件GdiplusTypes.h

lcsmwp 2011-01-05 05:27:32
在wince环境下MFC工程中使用 GDI+头文件GdiplusTypes.h,其中一段代码出错:
extern "C" {
typedef BOOL (CALLBACK * ImageAbort)(VOID *);
typedef ImageAbort DrawImageAbort;
typedef ImageAbort GetThumbnailImageAbort;
}

四个错误均指向第一行:
1、errorC2065 "CALLBACK":uncleared identifier
2、errorC2065 "ImageAbort":uncleared identifier
3、C4430 missing type specifier -int assumed Note C++doesnot support default-int
4、C1903 fatal error :stopping complication.
...全文
399 13 打赏 收藏 转发到动态 举报
写回复
用AI写文章
13 条回复
切换为时间正序
请发表友善的回复…
发表回复
lcsmwp 2011-03-17
  • 打赏
  • 举报
回复
11楼是windows mobile的不一样
lcsmwp 2011-01-10
  • 打赏
  • 举报
回复
我感觉wince也是只支持部分GDI+ ,有人能确定吗? 找到官方性质的资料证明啊
lcsmwp 2011-01-07
  • 打赏
  • 举报
回复
wince6.0支持GDI
zyrr159487 2011-01-07
  • 打赏
  • 举报
回复
会不会跟WINCE操作系统有关呢,不懂了
向立天 2011-01-07
  • 打赏
  • 举报
回复
wince能用GDI+么?
我记得不能吧
lcsmwp 2011-01-07
  • 打赏
  • 举报
回复
CALLBACK 是在windef.h中定义的啊?为什么说没定义?
继续求解............
lcsmwp 2011-01-07
  • 打赏
  • 举报
回复
使用GDI+ 的cpp文件吗?
Eleven 2011-01-07
  • 打赏
  • 举报
回复
WM 5.0后就开始支持GDI+,不过好像只是支持部分GDI+,不是全部的
向立天 2011-01-07
  • 打赏
  • 举报
回复
[Quote=引用 8 楼 lcsmwp 的回复:]
wince6.0支持GDI
[/Quote]GDI肯定支持啊
你是想说6.0以后支持GDI+吧
这个我真不知道
我做Mobile的时候还是5.0
fandh 2011-01-06
  • 打赏
  • 举报
回复
是不是没有加#include "stdafx.h"?
疯狂石头_ 2011-01-06
  • 打赏
  • 举报
回复
在使用Gdi+的CPP文件加入#include "stdafx.h"
lcsmwp 2011-01-06
  • 打赏
  • 举报
回复
在那个地方加这句?stdafx.cpp中加了

19,468

社区成员

发帖
与我相关
我的任务
社区描述
VC/MFC 图形处理/算法
社区管理员
  • 图形处理/算法社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧