0

このプログラムを実行しようとしていますが、「esent.h No such file or directory」というエラーが表示され続けます

#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;

何が問題になる可能性がありますか?.

4

1 に答える 1

0

私は MS Visual Studio の高速バージョンをインストールしており、esent.h を含めても問題ありません。とにかく無料(個人使用)なので、これを試してみてください。

于 2011-05-16T12:25:37.553 に答える