java思維

          正在學習中:(

          pro*c and vc++ error :C2079: 'SQLSTM" uses undefined struct 'SQLEXD'

          pro*c and vc++ error


          From the oracle metalink -

          Problem Description
          -------------------

          You are trying to compile a precompiled Pro*C application.
          You are using Microsoft Visual C++ 6.0.  At compile time,
          you get the error message:

          C2079: 'SQLSTM" uses undefined struct 'SQLEXD'


          Solution Description
          --------------------

          In Visual C++, under Project -> Settings -> Precompiled Headers,
          set this to "Automatic Use of Precompiled Headers", with the "Through
          Header"
          option left blank.

          HTH.,
          Ora600


          "Glen" wrote in message
          news:69867261.0110312021.3ba2f3ee@posting.google.com...
          > Hi,
          >
          > I have precompiled some pro*c code which worked fine and outputted a
          > c++ file which is included in my project. I have included the
          > orasql8.lib and when I try to compile the project receive the
          > following error:
          >
          > error C2079: 'sqlstm' uses undefined struct 'sqlexd'
          >
          > I don't understand why, the following code appears before where the
          > error is encountered.
          >
          > static struct sqlexd {
          >    unsigned int   sqlvsn;
          >    unsigned int   arrsiz;
          >    unsigned int   iters;
          >    unsigned int   offset;
          >    unsigned short selerr;
          >    unsigned short sqlety;
          >    unsigned int   occurs;
          >       const short *cud;
          >    unsigned char  *sqlest;
          >       const char  *stmt;
          >    sqladts *sqladtp;
          >    sqltdss *sqltdsp;
          >             void  **sqphsv;
          >    unsigned int   *sqphsl;
          >             int   *sqphss;
          >             void  **sqpind;
          >             int   *sqpins;
          >    unsigned int   *sqparm;
          >    unsigned int   **sqparc;
          >    unsigned short  *sqpadto;
          >    unsigned short  *sqptdso;
          >             void  *sqhstv[4];
          >    unsigned int   sqhstl[4];
          >             int   sqhsts[4];
          >             void  *sqindv[4];
          >             int   sqinds[4];
          >    unsigned int   sqharm[4];
          >    unsigned int   *sqharc[4];
          >    unsigned short  sqadto[4];
          >    unsigned short  sqtdso[4];
          > } sqlstm = {10,4};
          >
          > If anyone has any ideas i would be most appreciative.
          >
          > Cheers
          > Glen
          Google

          posted on 2005-09-24 20:28 john 閱讀(2219) 評論(0)  編輯  收藏 所屬分類: Oracle Technology

          主站蜘蛛池模板: 西和县| 盘锦市| 尼木县| 青铜峡市| 嘉荫县| 天台县| 衡阳县| 溧阳市| 华安县| 长寿区| 财经| 大洼县| 七台河市| 潮安县| 大足县| 鸡西市| 吴江市| 双辽市| 塔河县| 巩留县| 云安县| 福州市| 衡山县| 翼城县| 定兴县| 会同县| 腾冲县| 阿拉善右旗| 清河县| 邢台县| 临高县| 普格县| 元朗区| 旺苍县| 毕节市| 平邑县| 遵化市| 万全县| 伽师县| 宾川县| 东乌珠穆沁旗|