LNK2019 Link Error Unresolved External Symbol _sqlcxt when Compiling on 64 bit Windows

(Doc ID 790537.1)

Last updated on JULY 05, 2017

Applies to:

Precompilers - Version and later
Microsoft Windows x64 (64-bit)
***Checked for relevance on 6th Dec 2016***


Trying to link a file generated from the Pro*C Precompiler on a 64 bit Windows operating system with 64 bit Oracle client software installed may result in:

error LNK2019 unresolved external symbol _sqlcxt referenced in function ...
Fatal error LNK1120: 1 unresolved externals.


Behaviour may be noticed as a result of migrating to a 64 bit operating system, as the same code compiles without issue on a 32 bit operating system with 32 bit Oracle client software installed.


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