PRO*C defines
From: Olav <olavb_at_yahoo.com>
Date: Sat, 21 Jul 2001 21:49:20 GMT
Message-ID: <eef39a63.0106070347.3951e254_at_posting.google.com>
Date: Sat, 21 Jul 2001 21:49:20 GMT
Message-ID: <eef39a63.0106070347.3951e254_at_posting.google.com>
[Quoted] In Visual Stuidio C++ I have this define as conditional a
compilation step for a PRO*C file:
d:\orant\bin\proc oraca=yes threads=yes DEFINE=VLVF_FULL_VERSION
But it does not affect the compilation in the EXEC ORACLE IFDEF step:
#ifdef VLVF_FULL_VERSION
EXEC ORACLE IFDEF VLVF_FULL_VERSION;
EXEC SQL ENABLE THREADS;
LocalCtx = MyOraAgent->GetSessionContex();
EXEC SQL CONTEXT USE :LocalCtx;
EXEC ORACLE ENDIF;
#endif
I know that the problem is the define, because it works if I do a:
EXEC ORACLE DEFINE VLVF_FULL_VERSION
Is there any way to have PRO*C "see" the C-define of VLVF_FULL_VERSION?
Thanks!
Olav Received on Sat Jul 21 2001 - 23:49:20 CEST