======================================================================================
#define DBNTWIN32    // must identify operating system environment
#include "windows.h"#include <sqlfront.h>
#include <sqldb.h>    // DB-LIB header file (should always be included)
#include <stdio.h>

解决方案 »

  1.   

    #define DBNTWIN32    // must identify operating system environment
    #include "windows.h"
    #include <sqlfront.h>
    #include <sqldb.h>    // DB-LIB header file (should always be included)
    #include <stdio.h>
    这个吗?加上去也不行!!!
      

  2.   

    #include <stdio.h>
    #include <stdlib.h>
    #include <string.h>
    #include <sqlenv.h>
    #include <sqlcodes.h>
      

  3.   

    上面的方法,我都已经试过,但还是不行!!!
        #include <sqlenv.h>
        #include <sqlcodes.h>
    头文件找不到!!!
      

  4.   

    我在UNIX下用过SYBASE,也就是SQLSERVER的祖先。
    在UNIX要好象加个#include <sqlca.h>,不知道WINDOW下是什么样的。