Re: C++ connection to Oracle

From: Peter Sylvester <peters_at_mitre.org>
Date: Wed, 21 Feb 2001 08:57:29 -0500
Message-ID: <3A93C949.3674703C_at_mitre.org>


Look at the example (pro*c and oci) programs that get installed with pro*c.
They generally come with make and/or project files which you can build them with.

oci is a lower level interface, but doesn't require the preprocessor. The embedded SQL (pro*c) is *somewhat* portable to other DB systems.

-Peter

Thelonious Georgia wrote:
>
> Hey all-
>
> I am trying to create a C++ application that will talk to an Oracle
> database. I am slightly confused, however, whether I should be looking at
> the Oracle Pro*C/C++ Precompiler or the OCI documentation. At this point,
> I'm trying to write just the conduit piece for connectivity, I initially
> want to be able to feed the sql in manually for testing purposes.
>
> I'm using VC6 on NT, but I'd like to keep it platform neutral. I'll use MFC
> if that's the way to go, however.
>
> Thanks,
>
> Theo
Received on Wed Feb 21 2001 - 14:57:29 CET

Original text of this message