Visual Studio Link Error - Unresolved External Symbol _sqlcxt sqlcxt - When Compiling a Pro*C Application

(Doc ID 1223643.1)

Last updated on JULY 05, 2017

Applies to:

Precompilers - Version and later
Microsoft Windows x64 (64-bit)
Microsoft Windows (32-bit)
***Checked for relevance on 13th Apr 2017***


You have successfully pre-compiled your Pro*C application.  When you go to compile the .c file in Visual Studio you receive one of the following errors or a similar error:

VS.NET 2002/2003

error LNK2001: unresolved external symbol "void __cdecl sqlcxt(void * *,unsigned int *,struct sqlexd *,struct sqlcxp const *)" (?sqlcxt@@$$J0YAXPAPAXPAIPAUsqlexd@@PBUsqlcxp@@@Z)

VS.NET 2005/2008/2010

error LNK2019: unresolved external symbol _sqlcxt referenced in function _main


Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms