首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 开发语言 > C++ >

UINT16,inline编译异常

2012-03-22 
UINT16,inline编译错误inlineUINT16GetInplaceEditLimit() const { return mEditLen }voidSetInplaceEdi

UINT16,inline编译错误
inlineUINT16GetInplaceEditLimit() const { return mEditLen; };
voidSetInplaceEditLimit(UINT16 Limit) { mEditLen = Limit; };

错误-------------------------
Compiling...
DesignerConditionView.cpp
E:\Windows\DNBdd\Branches\Branche_4.4_Base\Aggregation\..\Aggregation\..\ShareFiles\CGridCtrl.h(197) : error C2146: syntax error : missing ';' before identifier 'GetInplaceEditLimit'
E:\Windows\DNBdd\Branches\Branche_4.4_Base\Aggregation\..\Aggregation\..\ShareFiles\CGridCtrl.h(197) : error C2433: 'UINT16' : 'inline' not permitted on data declarations
E:\Windows\DNBdd\Branches\Branche_4.4_Base\Aggregation\..\Aggregation\..\ShareFiles\CGridCtrl.h(197) : error C2501: 'UINT16' : missing storage-class or type specifiers
E:\Windows\DNBdd\Branches\Branche_4.4_Base\Aggregation\..\Aggregation\..\ShareFiles\CGridCtrl.h(198) : error C2061: syntax error : identifier 'UINT16'
E:\Windows\DNBdd\Branches\Branche_4.4_Base\Aggregation\..\Aggregation\..\ShareFiles\CGridCtrl.h(207) : error C2146: syntax error : missing ';' before identifier 'GetStringBufferLen'
E:\Windows\DNBdd\Branches\Branche_4.4_Base\Aggregation\..\Aggregation\..\ShareFiles\CGridCtrl.h(207) : error C2433: 'UINT16' : 'inline' not permitted on data declarations
E:\Windows\DNBdd\Branches\Branche_4.4_Base\Aggregation\..\Aggregation\..\ShareFiles\CGridCtrl.h(207) : error C2501: 'UINT16' : missing storage-class or type specifiers
E:\Windows\DNBdd\Branches\Branche_4.4_Base\Aggregation\..\Aggregation\..\ShareFiles\CGridCtrl.h(208) : error C2061: syntax error : identifier 'UINT16'
E:\Windows\DNBdd\Branches\Branche_4.4_Base\Aggregation\..\Aggregation\..\ShareFiles\CGridCtrl.h(221) : error C2146: syntax error : missing ';' before identifier 'GetIncrementalSearchTimer'
E:\Windows\DNBdd\Branches\Branche_4.4_Base\Aggregation\..\Aggregation\..\ShareFiles\CGridCtrl.h(221) : error C2433: 'UINT16' : 'inline' not permitted on data declarations
E:\Windows\DNBdd\Branches\Branche_4.4_Base\Aggregation\..\Aggregation\..\ShareFiles\CGridCtrl.h(221) : error C2501: 'UINT16' : missing storage-class or type specifiers
E:\Windows\DNBdd\Branches\Branche_4.4_Base\Aggregation\..\Aggregation\..\ShareFiles\CGridCtrl.h(222) : error C2061: syntax error : identifier 'UINT16'
E:\Windows\DNBdd\Branches\Branche_4.4_Base\Aggregation\..\Aggregation\..\ShareFiles\CGridCtrl.h(365) : error C2061: syntax error : identifier 'UINT8'
E:\Windows\DNBdd\Branches\Branche_4.4_Base\Aggregation\..\Aggregation\..\ShareFiles\CGridCtrl.h(391) : error C2146: syntax error : missing ';' before identifier 'mEditLen'
E:\Windows\DNBdd\Branches\Branche_4.4_Base\Aggregation\..\Aggregation\..\ShareFiles\CGridCtrl.h(391) : error C2501: 'UINT16' : missing storage-class or type specifiers
E:\Windows\DNBdd\Branches\Branche_4.4_Base\Aggregation\..\Aggregation\..\ShareFiles\CGridCtrl.h(391) : error C2501: 'mEditLen' : missing storage-class or type specifiers
E:\Windows\DNBdd\Branches\Branche_4.4_Base\Aggregation\..\Aggregation\..\ShareFiles\CGridCtrl.h(393) : error C2146: syntax error : missing ';' before identifier 'mBufferLen'

[解决办法]
typedef unsigned short UINT16;


???

热点排行
Bad Request.