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

Home -> Community -> Usenet -> c.d.o.tools -> Re: Building OCI programs

Re: Building OCI programs

From: <fgw_three_at_yahoo.com>
Date: Tue, 26 Sep 2000 20:40:57 GMT
Message-ID: <8qr1kn$dp2$1@nnrp1.deja.com>

Cliff,

I definitely agree with what you've said. The makefile they provide is abominable, and they smugly say "build your stuff by using this line to invoke our makefile."

Well, DUH, that's great if you're building their demo programs, but it's a little harder to integrate into existing software with existing makefiles.

We opted for OCI for more control, and essentially that's what we have. There's still a big learning curve, especially for someone who knows very little about Oracle to begin with...8^)

frank

In article <39D10361.58199961_at_palmercs.com>,   Cliff Palmer <cliff_at_palmercs.com> wrote:
> <!doctype html public "-//w3c//dtd html 4.0 transitional//en">
> <html>
> Frank, my first shot an an OCI program was slow going at first also
 and
> became better as I dug into things.&nbsp; In addition to developing a
 makefile
> that met my needs, I had to work around things like varchar fields
 *always*
> being padded even when you specified that they were to be trimmed,
 indicator
> variables that lied, and incomprehensible formats for date values.
> <p>In my case I had no choice since Oracle did not support Pro/C on
 Novell
> NetWare and we needed to interface Oracle,&nbsp; NetScape Enterprise
 Server,
> and Novell's directory services in one executable.
> <p>OCI gives you a great deal more fine-grained control over things
 but
> at the cost of a fair amount of complexity (and a few things that just
> didnt work).&nbsp; Is it possible that you could have used Pro/C ?
> <p>Cliff
> <p>fgw_three_at_yahoo.com wrote:
> <blockquote TYPE=CITE>Hello all,
> <p>I'm pretty new to Oracle programming, but not to programming in
 general.
> <br>We're using OCI on a project here, and while the documentation is
 pretty
> <br>good about *writing* Oracle OCI programs, there's damned little on
> how
> <br>to *build* Oracle OCI progams.
> <p>Yep, they give you a makefile in the rdbms/demo directory, which is
> the
> <br>hugest, most convoluted makefile I've ever seen.&nbsp; It pulls in
> every
> <br>library known to man (and probably a few that aren't) and does not
> work
> <br>"out of the box."
> <p>By trial and error I modified it pretty heavily, and got to work.
> <p>What I'm wondering is if any of you out there have found any kind
 of
> <br>documentation resources (Oracle "corporate" or otherwise) that can
> ease
> <br>this OCI build process.
> <p>Thanks,
> <p>Frank Way
> <br>Senior Development Engineer
> <br>Atlantic Computing &amp; Technology Corp.
> <p>Sent via Deja.com <a

 href="http://www.deja.com/">http://www.deja.com/</a>
> <br>Before you buy.</blockquote>
> </html>
>
>

Sent via Deja.com http://www.deja.com/
Before you buy. Received on Tue Sep 26 2000 - 15:40:57 CDT

Original text of this message

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