| 网站首页 | 业界新闻 | 小组 | 威客 | 人才 | 下载频道 | 博客 | 代码贴 | 在线编程 | 编程论坛
欢迎加入我们,一同切磋技术
用户名:   
 
密 码:  
共有 1449 人关注过本帖
标题:windows mobile 5.0 SDK中的 prsht.h 头编译不过去怎么回事啊?
只看楼主 加入收藏
奥丁
Rank: 1
等 级:新手上路
帖 子:327
专家分:0
注 册:2006-10-18
结帖率:100%
收藏
 问题点数:0 回复次数:2 
windows mobile 5.0 SDK中的 prsht.h 头编译不过去怎么回事啊?
错误 5 error C4430: missing type specifier - int assumed. Note: C++ does not support default-int E:\Microsoft Visual Studio\Windows CE Tools\wce500\Windows Mobile 5.0 Pocket PC SDK\include\ARMV4I\prsht.h 58
错误 8 error C4430: missing type specifier - int assumed. Note: C++ does not support default-int E:\Microsoft Visual Studio\Windows CE Tools\wce500\Windows Mobile 5.0 Pocket PC SDK\include\ARMV4I\prsht.h 65
错误 19 error C4430: missing type specifier - int assumed. Note: C++ does not support default-int E:\Microsoft Visual Studio\Windows CE Tools\wce500\Windows Mobile 5.0 Pocket PC SDK\include\ARMV4I\prsht.h 92
错误 20 error C4430: missing type specifier - int assumed. Note: C++ does not support default-int E:\Microsoft Visual Studio\Windows CE Tools\wce500\Windows Mobile 5.0 Pocket PC SDK\include\ARMV4I\prsht.h 92


将近200个这样的错误


错误指向了这些行 (贴出一部分)

C/C++ code
WINCOMMCTRLAPI HPROPSHEETPAGE WINAPI CreatePropertySheetPageA(LPCPROPSHEETPAGEA);
WINCOMMCTRLAPI HPROPSHEETPAGE WINAPI CreatePropertySheetPageW(LPCPROPSHEETPAGEW);
WINCOMMCTRLAPI BOOL           WINAPI DestroyPropertySheetPage(HPROPSHEETPAGE);
WINCOMMCTRLAPI int            WINAPI PropertySheetA(LPCPROPSHEETHEADERA);
WINCOMMCTRLAPI int            WINAPI PropertySheetW(LPCPROPSHEETHEADERW);


typedef BOOL (CALLBACK FAR * LPFNADDPROPSHEETPAGE)(HPROPSHEETPAGE, LPARAM);
typedef BOOL (CALLBACK FAR * LPFNADDPROPSHEETPAGES)(LPVOID, LPFNADDPROPSHEETPAGE, LPARAM);




为什么SDK中的会报错

而且我没看出来有错啊
搜索更多相关主题的帖子: mobile SDK windows prsht 编译 
2008-12-02 15:47
debroa723
Rank: 10Rank: 10Rank: 10
等 级:贵宾
威 望:23
帖 子:862
专家分:1954
注 册:2008-10-12
收藏
得分:0 
你应该把错误1-4也贴出来,有时候前一个错误改正了,后一个错误也就没有了,应该是你的代码引起了该错误.
2008-12-02 21:16
happychimo
Rank: 1
来 自:汉中
等 级:新手上路
帖 子:9
专家分:0
注 册:2009-7-22
收藏
得分:0 
可能是sdk不兼容
2009-11-03 18:39
快速回复:windows mobile 5.0 SDK中的 prsht.h 头编译不过去怎么回事啊?
数据加载中...
 
   



关于我们 | 广告合作 | 编程中国 | 清除Cookies | TOP | 手机版

编程中国 版权所有,并保留所有权利。
Powered by Discuz, Processed in 0.022161 second(s), 8 queries.
Copyright©2004-2024, BCCN.NET, All Rights Reserved