Re: How do I use Oracle from a UNIX C++ program (Pro C, OCI, etc)?

From: Sybrand Bakker <postbus_at_sybrandb.demon.nl>
Date: 2000/04/25
Message-ID: <956680253.12458.0.pluto.d4ee154e_at_news.demon.nl>#1/1


Answers below embedded

Hth,

Sybrand Bakker, Oracle DBA

Don <chambers_at_inquiregroup.com> schreef in berichtnieuws 3908ad3a.84187304_at_news-east.newscene.com...
> I am writing a middle tier C++ program that will run on a UNIX system
> (HP-UX) and needs to connect to Oralce. Has anyone had success with
> this? What is the best way to do it?
>
> I have tried using Pro*C but it does not inetgrate well with our
> development environemnt (SoftBench). There is also very little
> documentation on it and Oracle tech support is no help with setup
> problems. They just tell me to look at a sample make file.
>
> I am considering using the Orcle Call Interface (OCI) but have never
> used it.
>

Your best bet is Pro*C, OCI is considerably more difficult.

> I can't seem to find many books or any classes for Pro*C or OCI.

There are no classes in Pro*C, Pro*C essentially is a precompiler (and developed in an era C++ didn't even exist)
>
> Does anyone have any suggestions?
>
> I can use a third party tool if one is available but I would like to
> be able to use SQL statements if possible.
>
>
> Thanks,
> Don
> chamber_at_mindspring.com
Received on Tue Apr 25 2000 - 00:00:00 CEST

Original text of this message