我在程序中用上: if (m_adodc.GetRecordset().GetEof())
{
MessageBox("请选择要删除的记录");
return;
}编译时有出现下面的提示:
--------------------Configuration: jtlc - Win32 Debug--------------------
Linking...
Szfl.obj : error LNK2001: unresolved external symbol "public: class C_Recordset __thiscall CAdodc::GetRecordset(void)" (?GetRecordset@CAdodc@@QAE?AVC_Recordset@@XZ)
Debug/jtlc.exe : fatal error LNK1120: 1 unresolved externals
Error executing link.exe.jtlc.exe - 2 error(s), 0 warning(s)
去掉后编译通过了!
请问这种链接错误怎么查呢?请高手指点一下,谢谢了!!!!
{
MessageBox("请选择要删除的记录");
return;
}编译时有出现下面的提示:
--------------------Configuration: jtlc - Win32 Debug--------------------
Linking...
Szfl.obj : error LNK2001: unresolved external symbol "public: class C_Recordset __thiscall CAdodc::GetRecordset(void)" (?GetRecordset@CAdodc@@QAE?AVC_Recordset@@XZ)
Debug/jtlc.exe : fatal error LNK1120: 1 unresolved externals
Error executing link.exe.jtlc.exe - 2 error(s), 0 warning(s)
去掉后编译通过了!
请问这种链接错误怎么查呢?请高手指点一下,谢谢了!!!!
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货