Configure OCI programming in vs2010

Source: Internet
Author: User

OCI is an API officially produced by Oracle for connecting to and operating Oracle databases in C/C ++ languages. In a Windows operating system, it is very convenient and simple to use Vs and other ide To compile and compile C ++ programs without using makefile. You can use the OCI. h header file by simply configuring OCI.

First, you must install oracle. After the installation is complete, find the OCI folder under its installation directory. There are two folders under the OCI Folder: Include and Lib. Open vs2010, select the project email you want to program using OCI, select properties, and select the VC ++ directory under configuration properties, add the include folder (C :\... \ OCI \ include), add the Lib \ msvc folder (C \:.. \ OCI \ Lib \ msvc ). Finally, select the linker under the configuration property directory-> input, and add oracleoci11.lib to the additional dependency (depending on the Oracle version ).

Configure OCI programming in vs2010

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.