Re: SQLSQLDAAlloc() problem in Pro*C

From: apdharshini <member_at_dbforums.com>
Date: 7 Sep 2001 11:11:35 -0500
Message-ID: <3b98e3a7$1_at_usenetgateway.com>


Sean Phelan sph wrote:
> Folks,
> I'm sure somone has seen this one:
> - I'm trying to use SQLSQLDAAlloc() in a Pro*C file using Oracle 8
> on Solaris
> - I use the following code:
> sqlda = SQLSQLDAAlloc(SQL_SINGLE_RCTX, numElements,100,50);
> - SQL_SINGLE_RCTX is defined as :
> #define SQL_SINGLE_RCTX (dvoid *)0
> When I try to compile/build this, I get the following error:
> Syntax error at line 94, column 10, file iiFuncs.pc: Error at line 94,
> column 10 in file iiFuncs.pc sqlda = SQLSQLDAAlloc(SQL_SINGLE_RCTX,
> numElements,100,50); .........1 PCC-S-02201, Encountered the symbol ")"
> when expecting one of the following:
> ( * & + - ~ ! ^ ++ -- ... sizeof, an identifier, a quoted string, a
> numeric constant,
> Does anyone have any ideas?
> Thanks in advance,
> Sean
> Sean Phelan Sequoia Consulting - Internet solutions that make sense...
> Solutions that work. http://www.sqcn.com/http://www.sqcn.com[/url]
> http://www.thescia.org/"]http://www.TheSCIA.Org - Proud Member of the
> Space Coast Internet Alliance
> (321) 984-0211

Sean,

  I am also having the same problem. Where you able to get any solution   ? Could you please inform me if you have found something about this.

Thanks in advance, Anu.

--
anu

Posted via dBforums
http://dbforums.com
Received on Fri Sep 07 2001 - 18:11:35 CEST

Original text of this message