error linking to oci libraries from vc++

前端 未结 1 508
自闭症患者
自闭症患者 2020-12-21 23:23

Im using the OCI libraries from oracle 9i(personal edtn) for connecting to the database from my c program.(im using visual c++ 2005) ive included all lib files from oci and

1条回答
  •  有刺的猬
    2020-12-21 23:41

    For some reason, the compiler is messing with the calling convention of callbacks in the oracle headers. Try:

    #pragma managed(push, off)
    #include 
    #include 
    #pragma managed(pop)
    

    0 讨论(0)
提交回复
热议问题