Re: C++ & Pro*C v7

From: Marek Pytlik <pytlik_at_eris.cs.umb.edu>
Date: Mon, 12 Jul 1993 03:51:50 GMT
Message-ID: <1993Jul12.035150.18371_at_cs.umb.edu>


In article <DAVIDM.93Jul10223034_at_malibu.consilium.com> davidm_at_consilium.com (David S. Masterson) writes:
>>>>>> On 9 Jul 93 21:38:42 GMT, Jim_Holt_at_aprdlgtr.sps.mot.com (Jim Holt) said:
 

>> Anyone have a script which can repair the sins committed by the Pro*C
>> precompiler so that C++ will compile it's output ? (I have one that
>> works for Oracle version 6.XXXX but not for Oracle version 7.XXX,
>> which apparently commits many more sins than the previous version)
>
>Do yourself a favor and isolate all your SQL into straight C functions that
>the C++ code can call (extern "C"). Then compile the C functions with Pro*C
>and link with the rest of your program.

Why would anyone do it other than 'extern "C"' ? Received on Mon Jul 12 1993 - 05:51:50 CEST

Original text of this message