We have an application containing functions in STDCALL convention.
We also have ESQL statements in this application. Further when
we link this appliaction with the Oracle client library we get symbol
resolution problem for Oracle symbols. We compile the applications
(the preprocessed .c file) with -Gz option(STDCALL convention).
This results in a conflict since Oracle client library
($ORACLE_HOME\precomp\lib\msvc) provides only C declaration calls.

Error that we see while building the application:

Creating library libadmorasa.lib and object libadmorasa.exp
admdb_funcsora.obj : error LNK2019: unresolved external symbol _sqlcxt@16 refere
nced in function _AdmDB_DeleteFile@4
admdb_utilora.obj : error LNK2019: unresolved external symbol _sqlcxt@16 referen
ced in function _AdmDB_GrantAccess@20
libadmorasa.dll : fatal error LNK1120: 1 unresolved externals

Note: AdmDB*, libadmorasa* are application specific

$ORACLE_HOME\precomp\lib\msvc>nm oraSQL8.LIB | grep -i sqlcxt
0:0000000 B __imp__sqlcxt
0:0000000 T _sqlcxt

Is there any way we can resolve this problem without having to change
the application to be compiled with C calling conventions?