-
June 4th, 2010, 03:41 AM
#1
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?
-
June 4th, 2010, 04:43 AM
#2
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.
-
June 4th, 2010, 04:49 AM
#3
Re: unresolved external symbol sqlcxt
-
June 9th, 2010, 01:33 AM
#4
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.
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|