Linking...
LoginDlg.obj : error LNK2005: "public: void __thiscall CADOConn::OnInitADOConn(void)" (?OnInitADOConn@CADOConn@@QAEXXZ) already defined in ADOConn.obj
LoginDlg.obj : error LNK2005: "public: void __thiscall CADOConn::ExitConnect(void)" (?ExitConnect@CADOConn@@QAEXXZ) already defined in ADOConn.obj
LoginDlg.obj : error LNK2005: "public: class _com_ptr_t<class _com_IIID<struct _Recordset,&struct __s_GUID _GUID_00000556_0000_0010_8000_00aa006d2ea4> > & __thiscall CADOConn::GetRecordset(class _bstr_t)" (?GetRecordset@CADOConn@@QAEAAV?$_com_ptr_t@
V?$_com_IIID@U_Recordset@@$1?_GUID_00000556_0000_0010_8000_00aa006d2ea4@@3U__s_GUID@@A@@@@V_bstr_t@@@Z) already defined in ADOConn.obj
LoginDlg.obj : error LNK2005: "public: int __thiscall CADOConn::ExecuteSQL(class _bstr_t)" (?ExecuteSQL@CADOConn@@QAEHV_bstr_t@@@Z) already defined in ADOConn.obj
Debug/StudentMIS.exe : fatal error LNK1169: one or more multiply defined symbols found
执行 link.exe 时出错.并在StdAfx.h 中加了如下代码#import "C:\program files\common files\system\ado\msado15.dll" no_namespace rename("EOF","adoEOF") rename("BOF","adoBOF")
  
忘高手解答,谢谢!!!!!!