Pro C++ linking error

From: hhac <hhac_at_my-deja.com>
Date: Fri, 15 Oct 1999 17:32:38 GMT
Message-ID: <7u7ofm$s6q$1_at_nnrp1.deja.com>


I am using Microsoft Visual C++ and Oracle's Pro C++ and I'm getting the following linking error:

OracleInitializer.obj : error LNK2001: unresolved external symbol "void __cdecl sqlcxt(void * *,unsigned long const *,struct sqlexd *,struct sqlcxp const *)" (?sqlcxt_at__at_YAXPAPAXPBKPAUsqlexd@@PBUsqlcxp@@@Z)

I have added sqllib80.lib to the library modules of the project settings.

I have installed the Pro C/C++ sdk.

I have a file called Oracle.pc that is pre-compiled by proc.exe and this works fine.

Oddly enough a similar Pro C example (Sample1) compiles fine.

Is there a specific project setting that I have to change?

Any help would be appreciated.

Sent via Deja.com http://www.deja.com/
Before you buy. Received on Fri Oct 15 1999 - 19:32:38 CEST

Original text of this message