C++ database connectivity with Oracle

Discussion in 'C++' started by prabhat1, Aug 25, 2008.

  1. prabhat1

    prabhat1 New Member

    Joined:
    Mar 21, 2008
    Messages:
    12
    Likes Received:
    0
    Trophy Points:
    0
    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......
     
  2. xpi0t0s

    xpi0t0s Mentor

    Joined:
    Aug 6, 2004
    Messages:
    3,009
    Likes Received:
    203
    Trophy Points:
    63
    Occupation:
    Senior Support Engineer
    Location:
    England
    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.
     
  3. prabhat1

    prabhat1 New Member

    Joined:
    Mar 21, 2008
    Messages:
    12
    Likes Received:
    0
    Trophy Points:
    0
    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.......
     
  4. xpi0t0s

    xpi0t0s Mentor

    Joined:
    Aug 6, 2004
    Messages:
    3,009
    Likes Received:
    203
    Trophy Points:
    63
    Occupation:
    Senior Support Engineer
    Location:
    England
    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/software/products/database/index.html
    and the OCCI documentation is here:
    http://download.oracle.com/docs/cd/B28359_01/appdev.111/b28390/toc.htm
    (doc index here: http://www.oracle.com/technology/documentation/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.
     
  5. prabhat1

    prabhat1 New Member

    Joined:
    Mar 21, 2008
    Messages:
    12
    Likes Received:
    0
    Trophy Points:
    0
    :pleased: thanx a lot.........
     

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice