dll编译出错,到底怎么回事?大家帮帮忙!!!!!
dll编译出错:
(原来的程序是正确的,我只是将SendAndReceive()中的参数之一由short改为int)
Linking...
Creating library Debug/Aicommon.lib and object Debug/Aicommon.exp
Aicommon.exp : error LNK2001: unresolved external symbol "public: int __thiscall CBASEBASE::SendAndReceive(int,int,char *,int,int,char * &,short &)" (?SendAndReceive@CBASEBASE@@QAEHHHPADHHAAPADAAF@Z)
../bin/Aicommon.dll : fatal error LNK1120: 1 unresolved externals
Error executing link.exe.