unresolved external symbol sqlcxt
Hi,
I am using ProC code in my 64 bit application.
i am getting the following error while building it:
error LNK2001: unresolved external symbol sqlcxt
I am linking to orasql9.lib.
Can u tell me which library I have to link?
Actually this is working fine for 32 bit application.
I have added extern"C" in sqlcxt definition.
extern "C"
{
void sqlcxt (void **, unsigned int *,struct sqlexd *, const struct sqlcxp *);
void sqlcx2t(void **, unsigned int *,struct sqlexd *, const struct sqlcxp *);
void sqlbuft(void **, char *);
void sqlgs2t(void **, char *);
void sqlorat(void **, unsigned int *, void *);
}
Does any one has any idea why I am getting this? :(
Re: unresolved external symbol sqlcxt
I don't know what ProC is, but you should link to the library that exports struct sqlcxp. I supposed you have some documentation for this.
Re: unresolved external symbol sqlcxt
Re: unresolved external symbol sqlcxt
error LNK2001: unresolved external symbol "void __cdecl sqlcxt(void * *,unsigned int *,struct sqlexd *,*struct sq*lcxp const* )" (?sqlcxt@@YAXPEAPEAXPEAIPEAUsqlexd@@PEBUsqlcxp@@@Z)
But after adding extern "C" in the PL/SQL code
I am getting the following error:
extern "C"
{
void sqlcxt (void **, unsigned int *,struct sqlexd *, const struct sqlcxp *);
}
error LNK2001: unresolved external symbol sqlcxt
Please Help!!!!!!
I am using Oracle 9i client on x64 platform.