Precompilers and OCI (MOSC)

MOSC Banner

Linking Pro*C hello world Windows 7 64 Ora 10 symbols gone

edited May 30, 2012 5:06PM in Precompilers and OCI (MOSC) 3 commentsAnswered
A client we installed about a year ago works but a client we install now doesnt.Where have our lost symbols gone?

orasql10.lib used to define the symbol _sqlcxt
now it defines the symbol sqlcxt.  Probably other symbols have dropped the underbar.

How can we make orasql10.lib define _sqlcxt or alternatively how can we make the output of the
pro*c compiler generate a reference to sqlcxt instead of _sqlcxt?

-------------------------------------------------------------------------------------------------------------
#include <stdio.h>
#include <string.h>
#include <string>

#ifdef SQLCA_STORAGE_CLASS
#undef SQLCA_STORAGE_CLASS
#endif

  exec sql include sqlca;

main()

  int result;

  exec sql begin declare section;

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

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

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center