有谁使用c++builder/borland c++ 5.5成功编译oracle的proc接口程序?
guo 2001-08-11 05:13:18 从一本oracle开发的书上看到oracle 的proc接口代码只能用vc编译,不能使用bc编译,我在实际编译时在extern "c"处一直碰到语法错误
下面是一段出错的代码,大家帮着看一下有没有问题
// Prototypes
extern "C" {
void sqlcxt (void **, unsigned long *,
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 long *, void *);
}
// Forms Interface
static const int IAPSUCC = 0;
static const int IAPFAIL = 1403;
static const int IAPFTL = 535;
extern "C" { void sqliem(char *, int *); }
希望从bcb论坛有好消息,我实在不想从bcb转到vc上.