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

Home -> Community -> Usenet -> c.d.o.misc -> Re: Connection string from VC++ 5.0 to an Oracle Database

Re: Connection string from VC++ 5.0 to an Oracle Database

From: <mldykow_at_my-dejanews.com>
Date: Wed, 15 Jul 1998 13:47:37 GMT
Message-ID: <6oibtq$g0t$1@nnrp1.dejanews.com>


In article <6ohuqe$p0n$1_at_platane.wanadoo.fr>,   "Macao" <alain.dourille.AENLEVER_NOSPAMMER_at_wanadoo.fr> wrote:
> I have to access a Oracle Database from a VC++ 5.0 program. I have, of
> course, to connect to that database
> What are the ways to do that ?
> I think I have to use ODBC, but I don't find the Connection string format to
> connect to.
>
> Can someone help me please ?
>
> thanks a lot.
>
> Loïc GROSMAN, from MACAO, France.
>
>

You don't have to use odbc, there is an API. The header files have names along the lines of oci*.h and the lib is ociw32.lib Anyway, the connection string format should be something like

   DSN=xxxx;DBQ=yyyy;UID=zzzz;PWD=aaaa
at least that is what I was successul with.

Hope this helps,
Jens

-----== Posted via Deja News, The Leader in Internet Discussion ==----- http://www.dejanews.com/rg_mkgrp.xp Create Your Own Free Member Forum Received on Wed Jul 15 1998 - 08:47:37 CDT

Original text of this message

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