编译DLL时出错,急救!
hj308 2003-08-06 05:54:28 在*.CPP中的导出函数中调用内部函数时
extern int owFirst(int,int,int);
WINAPI int add()
{
int rslt;
rslt = owFirst(PortNum, TRUE, FALSE);
return rslt;
}
出错:
evcread.obj : error LNK2019: unresolved external symbol "int __cdecl owFirst(int,int,int)" (?owFirst@@YAHHHH@Z) referenced in function "int __cdecl add(void)" (?add@@YAHXZ)
请指点,多给分。