'CListCtrl' : missing storage-class or type specifiers问题
我程序里面用到一个common模块 里面是一些要用的函数,在其他程序上用没问题,但是在这次的使用上就出现问题了
我首先把错误信息发下:
e:\c++\xmlser\common\commonfun.h(428) : error C2146: syntax error : missing ';' before identifier 'listctrl'
e:\c++\xmlser\common\commonfun.h(428) : error C2501: 'CListCtrl' : missing storage-class or type specifiers
e:\c++\xmlser\common\commonfun.h(428) : error C2501: 'listctrl' : missing storage-class or type specifiers
e:\c++\xmlser\common\commonfun.h(452) : error C2146: syntax error : missing ';' before identifier 'LoadSysStr'
e:\c++\xmlser\common\commonfun.h(452) : error C2501: 'CString' : missing storage-class or type specifiers
e:\c++\xmlser\common\commonfun.h(452) : fatal error C1004: unexpected end of file found
对应第一个错误的代码是:
struct SortData
{
CListCtrl* listctrl; //CListCtrl控件指针就是这里啦!!
int isub; //l列号
int seq; //1为升序,0为降序
};
头文件包含在里面呀 怎么CListCtrl和CString都不能用了呢 ?
我首先把错误信息发下:
e:\c++\xmlser\common\commonfun.h(428) : error C2146: syntax error : missing ';' before identifier 'listctrl'
e:\c++\xmlser\common\commonfun.h(428) : error C2501: 'CListCtrl' : missing storage-class or type specifiers
e:\c++\xmlser\common\commonfun.h(428) : error C2501: 'listctrl' : missing storage-class or type specifiers
e:\c++\xmlser\common\commonfun.h(452) : error C2146: syntax error : missing ';' before identifier 'LoadSysStr'
e:\c++\xmlser\common\commonfun.h(452) : error C2501: 'CString' : missing storage-class or type specifiers
e:\c++\xmlser\common\commonfun.h(452) : fatal error C1004: unexpected end of file found
对应第一个错误的代码是:
struct SortData
{
CListCtrl* listctrl; //CListCtrl控件指针就是这里啦!!
int isub; //l列号
int seq; //1为升序,0为降序
};
头文件包含在里面呀 怎么CListCtrl和CString都不能用了呢 ?
...全文
相关推荐
技术转移机构有哪些能辅助社会资本决策的智能平台?.docx
技术转移机构有哪些能辅助社会资本决策的智能平台?
行星式扫描仪:纸质资源数字化驱动稳健增长,专业成像与高效采集塑造竞争优势.docx
行星式扫描仪:纸质资源数字化驱动稳健增长,专业成像与高效采集塑造竞争优势
龙头企业引进外部关键技术,经济效益为何难以准确评估?.docx
龙头企业引进外部关键技术,经济效益为何难以准确评估?
科技成果产业化流程是什么?推荐什么系统辅助管理?.docx
科易网(厦门科易网科技有限公司)创立于2007年,是技术转移与科技创新数智化服务平台,拥有国家科技成果转化服务示范基地、国家技术转移示范机构等资质。平台以“AI+科技成果转化”为核心,整合成果、专利、专家、政策等多维数据,构建知识图谱与科创智能体,面向企业、政府、高校院所提供成果转化、技术需求对接、产业服务等数智化解决方案。截至目前,已服务全国企业超43万家,推动落地项目11800余项,总金额逾80亿元。
CC-Switch-v3.14.1-Windows.zip
CC-Switch-v3.14.1-Windows.zip


