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

From: <edwardmi1_at_my-deja.com>
Date: Mon, 23 Oct 2000 12:40:44 GMT
Message-ID: <8t1bkc$r9d$1_at_nnrp1.deja.com>


How are you, Slava,

"Use MS C compiler and libraries" - it's a beatifull, amazing advice! Of course, I join you :), but I am afraid that MS C compiler will not solve problem of our colleque.
It seems to me, he just forgot to specify SQL Library (sqllib80.lib or orasql8.lib - depends on Oracle version) in the linker's options.

Edward,
mikhaylo_at_tlsoft.ru

In article <8sm1j1$7s9$1_at_dec-oracle.ruir.com>,   "Viatcheslav Hitrov" <hitrov_at_ruir.com> wrote:
> Hi!
> Use MS C compiler and libraries.
> Viatcheslav
> "Janusz Gryczman" <jgryczma_at_hrmi.com> wrote in message
> news:39EDC8A5.4C966396_at_hrmi.com...
> > 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" ?
> >
> > Sent via Deja.com http://www.deja.com/ Before you buy.
Received on Mon Oct 23 2000 - 14:40:44 CEST

Original text of this message