1 Reply Latest reply on Mar 22, 2013 1:53 PM by 998589

    OCI include files (from 8i) break Visual Studio.NET

    181902
      I am unable to compile the OCI files which used to work fine under VS6. I am trying the release version of Microsoft Visual Studio.NET (VS7). I get the following errors:

      c:\Program Files\Microsoft Visual Studio .NET\Vc7\PlatformSDK\Include\RpcNdr.h(147) : error C2632: 'char' followed by 'int' is illegal
      c:\Program Files\Microsoft Visual Studio .NET\Vc7\PlatformSDK\Include\RpcNdr.h(147) : warning C4091: 'typedef ' : ignored on left of 'unsigned char' when no variable is declared
      c:\Program Files\Microsoft Visual Studio .NET\Vc7\PlatformSDK\Include\WTypes.h(1072) : error C2371: 'BOOLEAN' : redefinition; different basic types
      c:\Program Files\Microsoft Visual Studio .NET\Vc7\PlatformSDK\Include\WinNT.h(746) : see declaration of 'BOOLEAN'

      These are all conflicts with the boolean type defined by RpcNdr.h and by the OCI files.

      Is there a newer version of the OCI files that I can use? Is there a flag I need to change?

      Thanks.

      EL