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)