问题描述:
想使用一下Wince的EDB数据库,通过API函数来操作它。
但是编译的时候提示这些函数还有一些变量没有定义。
按照书上和网上的说法,已经在“预处理器”中定义了EDB。
但提示的错误还是不变。
1>.\DBStudent.cpp(68) : error C2065: 'CEPROPSPEC' : undeclared identifier
1>.\DBStudent.cpp(68) : error C2146: syntax error : missing ';' before identifier 'dbPropInfo'
1>.\DBStudent.cpp(68) : error C2065: 'dbPropInfo' : undeclared identifier
1>.\DBStudent.cpp(70) : error C2228: left of '.wVersion' must have class/struct/union
1>.\DBStudent.cpp(71) : error C2228: left of '.propid' must have class/struct/union
1>.\DBStudent.cpp(72) : error C2228: left of '.pwszPropName' must have class/struct/union
1>.\DBStudent.cpp(73) : error C2228: left of '.cchPropName' must have class/struct/union
1>.\DBStudent.cpp(73) : error C2228: left of '.pwszPropName' must have class/struct/union
1>.\DBStudent.cpp(74) : error C2228: left of '.dwFlags' must have class/struct/union
1>.\DBStudent.cpp(76) : error C2228: left of '.wVersion' must have class/struct/union
1>.\DBStudent.cpp(77) : error C2228: left of '.propid' must have class/struct/union
1>.\DBStudent.cpp(78) : error C2228: left of '.pwszPropName' must have class/struct/union
1>.\DBStudent.cpp(79) : error C2228: left of '.cchPropName' must have class/struct/union
1>.\DBStudent.cpp(79) : error C2228: left of '.pwszPropName' must have class/struct/union
1>.\DBStudent.cpp(80) : error C2228: left of '.dwFlags' must have class/struct/union
1>.\DBStudent.cpp(82) : error C2228: left of '.wVersion' must have class/struct/union
1>.\DBStudent.cpp(83) : error C2228: left of '.propid' must have class/struct/union
1>.\DBStudent.cpp(84) : error C2228: left of '.pwszPropName' must have class/struct/union
1>.\DBStudent.cpp(85) : error C2228: left of '.cchPropName' must have class/struct/union
1>.\DBStudent.cpp(85) : error C2228: left of '.pwszPropName' must have class/struct/union
1>.\DBStudent.cpp(86) : error C2228: left of '.dwFlags' must have class/struct/union
1>.\DBStudent.cpp(88) : error C2228: left of '.wVersion' must have class/struct/union
1>.\DBStudent.cpp(89) : error C2228: left of '.propid' must have class/struct/union
1>.\DBStudent.cpp(90) : error C2228: left of '.pwszPropName' must have class/struct/union
1>.\DBStudent.cpp(91) : error C2228: left of '.cchPropName' must have class/struct/union
1>.\DBStudent.cpp(91) : error C2228: left of '.pwszPropName' must have class/struct/union
1>.\DBStudent.cpp(92) : error C2228: left of '.dwFlags' must have class/struct/union
1>.\DBStudent.cpp(95) : error C2228: left of '.wVersion' must have class/struct/union