EDB数据库的问题

pb215574980 2009-03-25 10:13:06
刚开始接触EDB数据库,刚开始就碰了一鼻子灰.
在开头写下:

#ifndef EDB
#define EDB
#endif
#include "stdafx.h"
#include "windbase.h"
extern "C"
{
#include "windbase_edb.h"
};


这些都是在网上别人所说的方法,编译结果是: fatal error C1083: Cannot open include file: 'windbase_edb.h': No such file or directory
在project->/configure properties->/c/c++->/General->/Additional include Directories把windbase_edb.h所在的目录包含进来,编译出现以下错误
C:\WINCE600\PUBLIC\COMMON\SDK\INC\malloc.h(45) : error C2143: syntax error : missing ',' before '*'
1>C:\Program Files\Microsoft Visual Studio 8\VC\ce\atlmfc\include\atltime.h(402) : error C3861: 'wcsftime': identifier not found
1>C:\Program Files\Microsoft Visual Studio 8\VC\ce\atlmfc\include\atltime.h(429) : error C3861: 'wcsftime': identifier not found
1>C:\Program Files\Microsoft Visual Studio 8\VC\ce\atlmfc\include\atlcomtime.h(367) : error C3861: 'wcsftime': identifier not found

请各位高手给诊断一下,原因何在?
...全文
215 4 打赏 收藏 转发到动态 举报
写回复
用AI写文章
4 条回复
切换为时间正序
请发表友善的回复…
发表回复
海阔任龟游 2011-09-19
  • 打赏
  • 举报
回复
敢问楼主是如何解决的,现在也遇到同样问题,找不到windbase_edb.h
pb215574980 2009-03-25
  • 打赏
  • 举报
回复
[Quote=引用 1 楼 ultrapro 的回复:]
extern "C"
{
#include <windbase_edb.h>
}

用尖括号,不用引号
[/Quote]
不行啊 我试了
儿大不由爷 2009-03-25
  • 打赏
  • 举报
回复
extern "C"
{
#include <windbase_edb.h>
}

用尖括号,不用引号
renjiao17 2009-03-25
  • 打赏
  • 举报
回复
关注

19,502

社区成员

发帖
与我相关
我的任务
社区描述
硬件/嵌入开发 嵌入开发(WinCE)
社区管理员
  • 嵌入开发(WinCE)社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧