本人新手,在编一个DLL2,调用另一个DLL1中的两个函数,使用隐式链接,有DLL1的.LIB和.DLL文件,调用语句如下:
_declspec(dllimport) bool FUNC1(DWORD dwDevice);
_declspec(dllimport) long FUNC2(DWORD dwDevice, PCHAR response, UINT maxchar, PCHAR command);  
FUNC1和FUNC2是DLL1的两个导出函数,DLL2编号编译链接时出现如下错误:
error LNK2019: 无法解析的外部符号 "__declspec(dllimport) bool __cdecl FUN1(unsigned long)" (__imp_?FUN1@@YA_NK@Z),该符号在函数 "public: bool __thiscall pmacstate::LinkToPmac(void)" (?LinkToPmac@pmacstate@@QAE_NXZ) 中被引用.希望大家帮着看看,谢了.