C++ database connectivity with Oracle

Go4Expert Member
25Aug2008,12:37   #1
prabhat1's Avatar
hiiiii.......... Kindly help me in establishing the connectivity with oracle database using the C++, i need the link to download occi.h header file and other related librarires which is required. along with some configuration manuals required on Windows XP paltform

thanx in advance......
Mentor
25Aug2008,23:21   #2
xpi0t0s's Avatar
What version? This stuff is on the Companion disk if 10g.
Hint: use OCI, not OCCI. Or Pro*C. OCCI is....well, you'll find out if you start using it.
The open brace after createEnvironment really *is* needed, no matter how daft that sounds.
Go4Expert Member
26Aug2008,11:56   #3
prabhat1's Avatar
hiii ...... xpi0t0s.....the version i am going to start with is 9i version...........could you be plz be specific...really i need help from the scratch.......
Mentor
26Aug2008,20:00   #4
xpi0t0s's Avatar
Any particular reason for using 9i? It's two major versions out of date, and with a fairly new interface like OCCI that difference is significant. You can get the 11g stuff from here: http://www.oracle.com/technology/sof...ase/index.html
and the OCCI documentation is here:
http://download.oracle.com/docs/cd/B...b28390/toc.htm
(doc index here: http://www.oracle.com/technology/doc.../database.html )

Make sure you install the Examples disk and have a look through the OCCI sample programs and make files; there's lots of useful stuff in there.
Go4Expert Member
27Aug2008,10:03   #5
prabhat1's Avatar
thanx a lot.........