Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.server -> OCI8.0 : ...OCIDescribeAny function call
Hi
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
P.S : Also reply to parora_at_questone.com Received on Wed Dec 08 1999 - 01:07:42 CST
![]() |
![]() |