Accessing the Oracle database using OCCI (1)

Source: Internet
Author: User

Recently intends to look at the Oracle database access, search on the internet, it is said that in addition to ADO and OLE DB, OCI is a common way, but OCI in C-style, in C + +, there are many inconvenient places, so the eyes turned to Occi.

Introduction to the development environment:

1.ORACLE

10g, 32-bit


2. Development tools

VC2008 Express Edition


Using Occi naturally uses. h. lib. dll files, which are available in the Oracle installation directory, as




But here only VC7 and VC7.1 library, very frustrating, online said only 11g contains VC8 and VC9 library, so I downloaded 11g, but really a little big, after downloading, can normal access, the method is very simple, only need to include the header files and library files on the line, there is no obstacle.

The second way to speak now is to use the instantclient approach, and see the next article.

Accessing the Oracle database using OCCI (1)

Related Article

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.