Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> comp.databases.oracle -> vc++ error while compiling pro*c precompiled code

vc++ error while compiling pro*c precompiled code

From: geek04 <geek04_at_hotmail.com>
Date: 28 Feb 2004 07:33:54 -0800
Message-ID: <c6a9aedf.0402280733.225ac82b@posting.google.com>


i'm using pro*c to precompile my c++ code which accesses oracle 9i database, i'm running a oracle 9i client on my system

on compiling the c++ file (generated by pro*c)i'm getting following errors:

E:\CODE\VariableRating.cpp(712) : error C2146: syntax error : missing ';' before identifier 'SQL'
E:\CODE\VariableRating.cpp(712) : error C2501: 'EXEC' : missing storage-class or type specifiers
E:\CODE\VariableRating.cpp(712) : fatal error C1004: unexpected end of file found

all these errors point on the first line containing the 'EXEC' statement (any 'EXEC' statement 'INCLUDE' or 'BEGIN DECLARE SECTION') in the file

plz help

thanx in advance

harsh Received on Sat Feb 28 2004 - 09:33:54 CST

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US