Oracle 8: Running OCI under C++
From: Mark Webb <mwebb_at_trintech.ie>
Date: Fri, 19 Jun 1998 10:48:06 +0100
Message-ID: <358A33D6.4357F651_at_trintech.ie>
Platform: AIX 4.2.1 (Oracle 8.0.4)
Date: Fri, 19 Jun 1998 10:48:06 +0100
Message-ID: <358A33D6.4357F651_at_trintech.ie>
Platform: AIX 4.2.1 (Oracle 8.0.4)
I am having trouble with the following piece of code:
status = OCIInitialize((ub4) OCI_DEFAULT, (dvoid *)0,
(dvoid * (*)(dvoid *, size_t)) 0,
(dvoid * (*)(dvoid *, dvoid *, size_t))0,
(void (*)(dvoid *, dvoid *) ) 0 );
It returns an error code 24322 when compiled with a C++ compiler and 0 (success) when compiled and linked under C.
Any pointers?
I am also unable to run the C++ demos (the C demos are fine).
Help appreciated.
-Mark Webb Received on Fri Jun 19 1998 - 11:48:06 CEST