当前位置: 代码迷 >> WinCE >> error C2065: 'CEPROPSPEC' : undeclared identifier(EDB数据库使用有关问题)(急)
  详细解决方案

error C2065: 'CEPROPSPEC' : undeclared identifier(EDB数据库使用有关问题)(急)

热度:69   发布时间:2016-04-28 13:01:54.0
error C2065: 'CEPROPSPEC' : undeclared identifier(EDB数据库使用问题)(急)
问题描述:
  想使用一下Wince的EDB数据库,通过API函数来操作它。
但是编译的时候提示这些函数还有一些变量没有定义。
按照书上和网上的说法,已经在“预处理器”中定义了EDB。
但提示的错误还是不变。
C/C++ code
1>.\DBStudent.cpp(68) : error C2065: 'CEPROPSPEC' : undeclared identifier1>.\DBStudent.cpp(68) : error C2146: syntax error : missing ';' before identifier 'dbPropInfo'1>.\DBStudent.cpp(68) : error C2065: 'dbPropInfo' : undeclared identifier1>.\DBStudent.cpp(70) : error C2228: left of '.wVersion' must have class/struct/union1>.\DBStudent.cpp(71) : error C2228: left of '.propid' must have class/struct/union1>.\DBStudent.cpp(72) : error C2228: left of '.pwszPropName' must have class/struct/union1>.\DBStudent.cpp(73) : error C2228: left of '.cchPropName' must have class/struct/union1>.\DBStudent.cpp(73) : error C2228: left of '.pwszPropName' must have class/struct/union1>.\DBStudent.cpp(74) : error C2228: left of '.dwFlags' must have class/struct/union1>.\DBStudent.cpp(76) : error C2228: left of '.wVersion' must have class/struct/union1>.\DBStudent.cpp(77) : error C2228: left of '.propid' must have class/struct/union1>.\DBStudent.cpp(78) : error C2228: left of '.pwszPropName' must have class/struct/union1>.\DBStudent.cpp(79) : error C2228: left of '.cchPropName' must have class/struct/union1>.\DBStudent.cpp(79) : error C2228: left of '.pwszPropName' must have class/struct/union1>.\DBStudent.cpp(80) : error C2228: left of '.dwFlags' must have class/struct/union1>.\DBStudent.cpp(82) : error C2228: left of '.wVersion' must have class/struct/union1>.\DBStudent.cpp(83) : error C2228: left of '.propid' must have class/struct/union1>.\DBStudent.cpp(84) : error C2228: left of '.pwszPropName' must have class/struct/union1>.\DBStudent.cpp(85) : error C2228: left of '.cchPropName' must have class/struct/union1>.\DBStudent.cpp(85) : error C2228: left of '.pwszPropName' must have class/struct/union1>.\DBStudent.cpp(86) : error C2228: left of '.dwFlags' must have class/struct/union1>.\DBStudent.cpp(88) : error C2228: left of '.wVersion' must have class/struct/union1>.\DBStudent.cpp(89) : error C2228: left of '.propid' must have class/struct/union1>.\DBStudent.cpp(90) : error C2228: left of '.pwszPropName' must have class/struct/union1>.\DBStudent.cpp(91) : error C2228: left of '.cchPropName' must have class/struct/union1>.\DBStudent.cpp(91) : error C2228: left of '.pwszPropName' must have class/struct/union1>.\DBStudent.cpp(92) : error C2228: left of '.dwFlags' must have class/struct/union1>.\DBStudent.cpp(95) : error C2228: left of '.wVersion' must have class/struct/union1>.\DBStudent.cpp(96) : error C2228: left of '.propid' must have class/struct/union1>.\DBStudent.cpp(96) : error C2065: 'CEVT_STREAM' : undeclared identifier1>.\DBStudent.cpp(97) : error C2228: left of '.pwszPropName' must have class/struct/union1>.\DBStudent.cpp(98) : error C2228: left of '.cchPropName' must have class/struct/union1>.\DBStudent.cpp(98) : error C2228: left of '.pwszPropName' must have class/struct/union1>.\DBStudent.cpp(99) : error C2228: left of '.dwFlags' must have class/struct/union1>.\DBStudent.cpp(102) : error C3861: 'CeCreateDatabaseWithProps': identifier not found1>.\DBStudent.cpp(164) : error C3861: 'CeMountDBVolEx': identifier not found1>.\DBStudent.cpp(171) : error C3861: 'CeCreateSession': identifier not found1>.\DBStudent.cpp(174) : error C3861: 'CeOpenDatabaseInSession': identifier not found1>.\DBStudent.cpp(195) : error C3861: 'CeOpenDatabaseInSession': identifier not found1>.\DBStudent.cpp(362) : error C3861: 'CeOpenStream': identifier not found1>.\DBStudent.cpp(371) : error C3861: 'CeStreamWrite': identifier not found1>.\DBStudent.cpp(378) : error C3861: 'CeStreamSaveChanges': identifier not found1>.\DBStudent.cpp(482) : error C3861: 'CeOpenStream': identifier not found1>.\DBStudent.cpp(491) : error C3861: 'CeStreamSetSize': identifier not found1>.\DBStudent.cpp(501) : error C3861: 'CeStreamWrite': identifier not found1>.\DBStudent.cpp(509) : error C3861: 'CeStreamSaveChanges': identifier not found
  相关解决方案