原来怎么没有,用2000的#import "c:\Program Files\common files\system\ado\msado15.dll" no_namespace rename("EOF","adoEOF")就有了
指向:adCreateStructDoc = -2147483648,

解决方案 »

  1.   

    adCreateStructDoc 是无符号型
      

  2.   

    vc的bug,不用馆,你可以在microsoft上找到解释。
      

  3.   

    please change with:
    #import "c:\Program Files\common files\system\ado\msado20.tlb" no_namespace rename("EOF","adoEOF")
      

  4.   

    (2) 在编译的时候肯能会出现如下警告,对此微软在MSDN中作了说明,并建议我们不要理会这个警告。
    msado15.tlh(405) : warning C4146: unary minus operator applied to unsigned type, result still unsigned 
      

  5.   

    请使用预编译指令屏蔽
    #pragma warning(disable:4146)
    ----------------------------------------------------------
    #import "c:\Program Files\common files\system\ado\msado20.tlb" no_namespace rename("EOF","adoEOF")
    ----------------------------------------------------------
    #pragma warning(default:4146)