VC++6.0 用CserialPort类进行串口通讯,在导入CserialPort类时,编译出错!OnComm函数是unresolved external
创建了一个对话框程序,我就是在导入CSerialPort类后,其他控件什么都没有加,就出现编译问题。
Linking...
SeportDlg.obj : error LNK2001: unresolved external symbol "protected: long __thiscall CSeportDlg::OnComm(unsigned int,long)" (?OnComm@CSeportDlg@@IAEJIJ@Z)
Debug/Seport.exe : fatal error LNK1120: 1 unresolved externals
执行 link.exe 时出错.
Seport.exe - 1 error(s), 0 warning(s)
请各位高手指点!!