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: Oracle Pro*C and Borland C/C++

Re: Oracle Pro*C and Borland C/C++

From: Janusz Gryczman <janusz_at_winternet.com>
Date: Fri, 20 Oct 2000 01:11:44 -0500
Message-ID: <39EFE220.8F283EF9@winternet.com>

Thanks Peter,
I try this, but msvc directory contain only libraries for Microsoft VC++. There is no libraries for Borland. Does anybody from Oracle knows ?

Peter Sylvester wrote:

> Looks like you don't have Oracle'e library included in the link step.
> On my system, I have to include:
> D:\Oracle\ora816\precomp\lib\msvc\oraSQL8.LIB
>
> When linking under MS VC++. I don't know if this will be compatible for
> Borland - maybe if they are all "C" calls (C++ tends to be compiler
> specific).
>
> -Peter
>
> Janusz Gryczman wrote:
> >
> > I'm just trying to produce .exe from Pro *C "samples" directory.
> > This is what I'm getting ...
> >
> > ------------------------------------------------------------------------------------->
> >
> > E:\CPP>e:\ora8i\bin\proc.exe sample.pc
> >
> > Pro*C/C++: Release 8.1.6.0.0 - Production on Mon Oct 16 09:44:22 2000
> >
> > (c) Copyright 1999 Oracle Corporation. All rights reserved.
> >
> > System default option values taken from:
> > E:\ora8i\precomp\admin\pcscfg.cfg
> >
> > E:\CPP>bcc32 -IE:\ora8i\precomp\public sample.c
> > Borland C++ 5.5.1 for Win32 Copyright (c) 1993, 2000 Borland
> > sample.c:
> > Turbo Incremental Link 5.00 Copyright (c) 1997, 2000 Borland
> > Error: Unresolved external '_sqlcxt' referenced from E:\CPP\SAMPLE.OBJ
> >
> > ------------------------------------------------------------------------------------->
> >
> > First I run precompiler which outputs ".c" file. (All Oracle header
> > files are installed into "E:\ora8i\precomp\public"
> > directory. What other libraries should be linked, most likely with the
> > option "-L" ?
Received on Fri Oct 20 2000 - 01:11:44 CDT

Original text of this message

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