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

Home -> Community -> Usenet -> c.d.o.misc -> OCI8.0 : ...OCIDescribeAny function call

OCI8.0 : ...OCIDescribeAny function call

From: Parvinder Singh <parora_at_questone.com>
Date: Wed, 08 Dec 1999 07:09:13 GMT
Message-ID: <384E0454.6D6B234B@questone.com>


hello all
i m once again here to trouble you guys...hope someone amongst you who has worked on OCI can help me ...

here is the piece of code which i m trying to execute

/*allocating the handle for OCIDescribe*/ OCIHandleAlloc((dvoid *) envhp, (void **) &dschp,

(ub4) OCI_HTYPE_DESCRIBE,
(size_t) 0, (dvoid **) 0));

  /* Get number of fields*/
   OCIDescribeAny(svchp, errhp, (text *)objptr,

                  (ub4) strlen((char*)"month_f"), OCI_OTYPE_NAME,
(ub1)1,
                  OCI_PTYPE_TABLE, dschp);



now the OCIHandleAlloc gets executed properly without any error i have checked the return status too but when OCIDescribeAny is executed it gives an runtime error related to memory allocation....stating "Acces Violation"...

From last 2 days i have been struggling .....

Regards & Thanks in advance
Parvinder Received on Wed Dec 08 1999 - 01:09:13 CST

Original text of this message

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