Home » Developer & Programmer » Precompilers, OCI & OCCI » Version of the proc Compiler
Version of the proc Compiler [message #94203] Tue, 11 May 2004 00:44 Go to next message
poschi
Messages: 1
Registered: May 2004
Junior Member
Hello all!

I have a programm which works with the proC compiler of Oracle 8. Now I want this programm to work with the compiler of Oracle 9 and Oracle 8. My problem is that the datatype of a variable in the function sqlcxt has changed. Now I want to make two definitions of this function depending on the precompiler version.

Is there any proC define that tells me the version?

THX,
martin
Re: Version of the proc Compiler [message #94244 is a reply to message #94203] Fri, 04 June 2004 17:54 Go to previous message
Frank Scherie
Messages: 10
Registered: June 2004
Junior Member
Hello,

unfortunatly - No.
Even the OCI headers does not contain a define
signalling OCI7 or OCI8 or OCI9 -
Please note that the major gap is between Oracle 7
on the one side - and Oracle 8 until 10g on the other side -
Only possible solution would be use of DEFINE option in Pro*C in combination with #ifdef and #ifndef to direct the used sqlcxt

Frank Scherie
Senior Support Engineer
Previous Topic: how to embed a proc program output to reports 9i
Next Topic: Upgarding from OCI7X to OCI 9X
Goto Forum:
  


Current Time: Sat Apr 20 06:45:09 CDT 2024