1 Reply Latest reply on Aug 16, 2018 11:58 PM by fef6ec10-55db-4a23-9e30-96676b3d2bbe

    Oracle 12c OCI 64 bit for Visual Studio 2017

    92f5efcc-146c-494d-92af-f359cbfff326

      Hi!

       

      I've been searching high and low for an Oracle 12c OCI SDK for Visual Studio 2017 (MSVC15), preferably with 64 bit support. Best thing I've found so far are some files that *may* work with VS2015.

       

      In case I've overlooked something please point me in the right direction.

       

      Thank you very much in advance!

       

      Regards,

      Marc

       

      (I can't figure out why my name is shown as a UUID. Sorry for that.)

        • 1. Re: Oracle 12c OCI 64 bit for Visual Studio 2017
          fef6ec10-55db-4a23-9e30-96676b3d2bbe

          The latest version of Instant Client for Windows x64 is 12.2, and this has

          • oci.h last change 10/10/2016
          • oci.lib which is an import library for oci.dll
          • oci.dll which depends.exe tells me requires msvcr120.dll, therefore it has been compiled with vs2013.
          • a folder sdk/lib/vc14 but this only includes occi.

           

          I installed the Oracle Client 18c for Windows x64. This has:

          • oci.h last change 10/25/2017
          • oci.lib which is an import library for oci.dll
          • oci.dll which depends.exe tells me requires msvcr120.dll, therefore it has been compiled with vs2013.
          • a folder sdk/lib/vc14 but this only includes occi.

           

          So the full client is nearly a year older, but is still compiled with a vs2013! Visual Studio 2017 had been out for 7 months when they released, and Visual Studio 2015 for years.

           

          With the huge advances in C++ (C++11, C++14, C++17), using old compilers is a real pain.

           

          The document https://docs.oracle.com/en/database/oracle/oracle-database/18/ntcli/oracle-database-client-software-requirements.html#GU…  says:

           

               The following components are supported with the Microsoft Visual C++ 2013 Update 4, Microsoft Visual C++ 2015 Update 3, and Intel 14.0 C compilers:

            • Oracle Call Interface