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 -> Compiling OCI C++ code on HPUX 11

Compiling OCI C++ code on HPUX 11

From: Scott Metzger <scottmetzger_at_my-deja.com>
Date: Fri, 09 Feb 2001 03:34:18 GMT
Message-ID: <95vofq$o0$1@nnrp1.deja.com>

Hi,

I am having trouble compiling C++ OCI code on HPUX 11.

aCC -c -I$ORACLE_HOME/rdbms/demo -I$ORACLE_HOME/plsql/public -I$ORACLE_HOME/network/public TLYXQuery.cpp

results in:
Error 181: "TLYXQuery.cpp", line 23 # Expected 0 argument(s) for "int OCIInitialize()"; had 5 instead.

The aCC version is A.03.13

The same code compiles (and even links) on NT using Borland's C++ Builder.

What am I doing wrong?

Thank You,
Scott

Sent via Deja.com
http://www.deja.com/ Received on Thu Feb 08 2001 - 21:34:18 CST

Original text of this message

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