LNK2019 for OCIDescAlloc
Hi dear all,
I'm linking an OCI program which use the OCIDescAlloc, firstly the compiler complain
error C4013: 'OCIDescAlloc' undefined; assuming extern returning int
then I add a prototype manually as follow
sword OCIDescAlloc ( const void *parenth, void **descpp, ub4 type, size_t xtramem_sz, void **usrmempp);
this time I got LNK2019 error
error LNK2019: unresolved external symbol _OCIDescAlloc referenced in function _insert_blob
I do add the oci.lib in the lib path . so what's wrong with this ? many thanks !!!