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

From: Peter Sylvester <peters_at_mitre.org>
Date: Thu, 19 Oct 2000 16:32:51 -0400
Message-ID: <39EF5A73.362CDDB9_at_mitre.org>


[Quoted] 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 Thu Oct 19 2000 - 22:32:51 CEST

Original text of this message