My Oracle Support Banner

LNK2019 Link Error Unresolved External Symbol _sqlcxt when Compiling on 64 bit Windows (Doc ID 790537.1)

Last updated on JANUARY 29, 2022

Applies to:

Precompilers - Version and later
Microsoft Windows x64 (64-bit)


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.


To view full details, sign in with your My Oracle Support account.

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

In this Document

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.