我正在尝试运行这个程序,但我一直收到错误消息"esent.h没有这样的文件或目录“
#undef JET_VERSION
#define JET_VERSION 0x0501
#include <stdio.h>
#include <string.h>
#include <esent.h>
// One possible error-handling strategy is to jump to an error-handling
// label whenever an ESENT call fails.
#define Call(func) { \
err = (func); \
if(err < JET_errSuccess) { \
goto HandleError; \
} \
} \
int main(int argc, char * argv[]) {
JET_ERR err;
JET_INSTANCE instance;
JET_SESID sesid;
JET_DBID dbid;
JET_TABLEID tableid;
JET_COLUMNDEF columndef = {0};
JET_COLUMNID columnid;可能的问题是什么?
发布于 2011-05-16 20:25:38
我安装了MS Visual Studio的速成版,包含esent.h没有问题。也许你应该试试这个,因为它是免费的(供个人使用)。
https://stackoverflow.com/questions/5294962
复制相似问题