Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.misc -> Re: calling OCI-functions from C++
> "unresolved external" for every OCI-function I use. Is there
> a special C++-hack for the header-file needed or something like
My guess:
The OCI header files don't specify the C linkage so you have to do the following.
extern "C" {
#include <any oci header files needed>
}
-- Markus Schoepflin www: http://www.ginit.de GINIT Gesellschaft fuer integrierte email: schoepflin_at_ginit.de Informationssysteme mbH phone: +49 721 9 66 81 67 Vincenz-Priessnitz-Str. 1 fax: +49 721 9 66 81 11 D-76131 Karlsruhe, GermanyReceived on Mon May 26 1997 - 00:00:00 CDT