Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.server -> Re: Connect Oracle Database with VC++

Re: Connect Oracle Database with VC++

From: David Lesnick <davidles_at_bellatlantic.net>
Date: Sat, 19 Jun 1999 18:57:44 -0400
Message-ID: <376C2068.57E29F5B@bellatlantic.net>


Oracle provides an API for accessing their database from C and C++ programs call the OCI (Oracle Call Interface). Check out the version of the OCI programmers guide for the version of Oracle you are working with it will describe the necessary headers, libs, and DLL's you need to get your VC++ program to communicate with Oracle. The manual will also provide some rudimentary code examples. You may be able to find this manual in electronic form on the web. BTW there is not much difference in the API between Windows, and Unix.

XChing wrote:

> I'm writing a VC++ program which will connect to the oracle database
> server and send query to the database server.
>
> What header files I have to include in my VC++ program ?
> I have search the documentation comes with the Oracle CD, but it has
> the sample program for unix platform only~
>
> And where can I find some information (e.g. quidline, sample programs )
> in web ?
>
> Thanks
Received on Sat Jun 19 1999 - 17:57:44 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US