🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.database.ado
Article #1941

Error using OTL library

#1941
From: Chris ( Val )
Date: Sun, 28 Dec 2003 14:11
27 lines
1530 bytes
Hi everyone.

I am trying to connect to Oracle 9i using the OTL library,
but I'm getting this linker error that I cannot solve.

To reproduce this error, all I did was go to 'Add To Project',
and select the oci.lib file. When I try to compile it, even
without writing any code yet, I get the error message:

[Linker Error] 'C:\ORACLE\ORA92\OCI\LIB\MSVC\OCI.LIB'
contains invalid OMF record, type 0x21 (possibly COFF)

#include <iostream>
#include <stdio.h>

#include <otlv4.h>

int main()
 {

  return 0;
 }

I would appreciate any advice, in getting this set up and running.

Cheers.
Chris Val
Technical Details
Message-ID: <3feee483@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!wn13feed!worldnet.att.net!199.45.49.37!cyclone1.gnilink.net!peer01.cox.net!cox.net!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10698b,6f1dbd14edebbc60,start
X-Google-Attributes: gid10698b,public
X-Google-ArrivalTime: 2003-12-28 06:30:30 PST
From: "Chris \( Val \)" <chrisval@bigpond.com.au>
Newsgroups: borland.public.cppbuilder.database.ado
Subject: Error using OTL library
Date: Mon, 29 Dec 2003 01:11:24 +1100
Lines: 29
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
NNTP-Posting-Host: 144.139.101.150
Message-ID: <3feee483@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1072620675 144.139.101.150 (28 Dec 2003 06:11:15 -0700)
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!wn13feed!worldnet.att.net!199.45.49.37!cyclone1.gnilink.net!peer01.cox.net!cox.net!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail