VC编译pro*c/c++的问题
用pro *c/c++处理后的c程序在vc下调试不能通过
下面是错误:
myprocdb.obj : error LNK2001: unresolved external symbol "void __cdecl sqlcxt(void * *,unsigned long *,struct sqlexd *,struct sqlcxp const *)" (?sqlcxt@@YAXPAPAXPAKPAUsqlexd@@PBUsqlcxp@@@Z)
Debug/myprocdb.exe : fatal error LNK1120: 1 unresolved externals
注:oracle的头文件和库已经添加到VC路径中
问题点数:20、回复次数:3Top
1 楼hjf1010(黑色狂人)回复于 2005-08-31 08:58:45 得分 0
没有人做过这方面的东西吗?自己顶一下Top
2 楼hahu(神仙?妖怪?谢谢!)回复于 2005-08-31 09:06:14 得分 20
http://www.china-askpro.com/msg45/qa84.shtmlTop
3 楼ch6688(阿牛)回复于 2005-11-23 10:17:51 得分 0
extern "C" {
void sqlcxt (void **, unsigned int *,
struct sqlexd *, const struct sqlcxp *);
void sqlcx2t(void **, unsigned long *,
struct sqlexd *, const struct sqlcxp *);
void sqlbuft(void **, char *);
void sqlgs2t(void **, char *);
void sqlorat(void **, unsigned int *, void *);
}
Top




