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

Home -> Community -> Usenet -> c.d.o.misc -> Re: Errors Using OCI For The First Time

Re: Errors Using OCI For The First Time

From: mark tomlinson <marktoml_at_gdi.net>
Date: 1998/01/23
Message-ID: <34c8b2fb.266225231@newshost.us.oracle.com>#1/1

The docs are in a package called Programmer 2000. The library that was on the CD you used is a Microsoft format import library...There is a Borland one provided on the Programmer 2000 cd, or, Borland used to provide a utility called IMPLIB.EXE that would recreate the import library from the DLL, (the one you are interested in is OCIW32.DLL in the Oracle_home\bin directory).

mark

ps. the Prog. 2K cd also includes Borland IDE files with the samples in addition to the MAK files for use withthe MS compiler.

On Fri, 16 Jan 1998 20:48:35 GMT, teetshd_at_email.uc.edu (Greg Teets) wrote:

>I'm just starting out with the OCI files that came with Personal
>Oracle 7. Part of the problem is that there is no documentation.
>
>I thought I would start out working with the examples, so I started
>out with winoci. The .exe works fine, connects to the database, and
>shuts down with no problems.
>
>My next step was to compile from the source. I'm using Borland C++
>5.0. The code is a 'c' file, a few headers, and an 'rc' file. There
>is also a 'mak' file. I've done a fair amount of c++, but never used
>someone else's make file. How does that fit into the project? I also
>add the to libraries to the project. When the linker tries to open
>the libraries I get:
> Fatal: Bad object file '..\..\orawin95\oci72\ociw32.lib' near
>file offset 0
>
>Plus I also get about 50 warnings like this:
> Warn :winoci.c(87,71):Mixing pointers to different 'char'
>types
>
>I appreciate any help you can give me or point me to a documentation
>resource.
>
>Thanks,
>Greg in Cincinnati
>teetshd_at_ucbeh.san.uc.edu
Received on Fri Jan 23 1998 - 00:00:00 CST

Original text of this message

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