none
error LNK2019 y LNK2001 RRS feed

  • Pregunta

  • Hola cuando compilo me salen muchos errores como estos:

    apprors.obj : error LNK2019: unresolved external symbol "public: class _com_ptr_t<class _com_IIID<struct ADODB::_Recordset,&struct __s_GUID const _GUID_00001556_0000_0010_8000_00aa006d2ea4> > __thiscall ADODB::Connection15::Execute(class _bstr_t,struct tagVARIANT *,long)" (?Execute@Connection15@ADODB@@QAE?AV?$_com_ptr_t@V?$_com_IIID@U_Recordset@ADODB@@$1?_GUID_00001556_0000_0010_8000_00aa006d2ea4@@3U__s_GUID@@B@@@@V_bstr_t@@PAUtagVARIANT@@J@Z) referenced in function "public: bool __cdecl CApproData::ExecuteQuery(char const *,...)" (?ExecuteQuery@CApproData@@QAA_NPBDZZ)
    util.obj : error LNK2001: unresolved external symbol "public: class _com_ptr_t<class _com_IIID<struct ADODB::_Recordset,&struct __s_GUID const _GUID_00001556_0000_0010_8000_00aa006d2ea4> > __thiscall ADODB::Connection15::Execute(class _bstr_t,struct tagVARIANT *,long)" (?Execute@Connection15@ADODB@@QAE?AV?$_com_ptr_t@V?$_com_IIID@U_Recordset@ADODB@@$1?_GUID_00001556_0000_0010_8000_00aa006d2ea4@@3U__s_GUID@@B@@@@V_bstr_t@@PAUtagVARIANT@@J@Z)
    apprors.obj : error LNK2019: unresolved external symbol "public: short __thiscall ADODB::Recordset15::GetadoEOF(void)" (?GetadoEOF@Recordset15@ADODB@@QAEFXZ) referenced in function "public: bool __thiscall CApproRS::eof(void)" (?eof@CApproRS@@QAE_NXZ)
    util.obj : error LNK2001: unresolved external symbol "public: short __thiscall ADODB::Recordset15::GetadoEOF(void)" (?GetadoEOF@Recordset15@ADODB@@QAEFXZ)
    apprors.obj : error LNK2019: unresolved external symbol "public: long __thiscall ADODB::Recordset15::Close(void)" (?Close@Recordset15@ADODB@@QAEJXZ) referenced in function "public: void __thiscall CApproRS::Close(void)" (?Close@CApproRS@@QAEXXZ)
    apprors.obj : error LNK2019: unresolved external symbol "public: long __thiscall ADODB::Recordset15::MoveFirst(void)" (?MoveFirst@Recordset15@ADODB@@QAEJXZ) referenced in function "public: long __thiscall CApproRS::GetNumRows(void)" (?GetNumRows@CApproRS@@QAEJXZ)
    apprors.obj : error LNK2019: unresolved external symbol "public: long __thiscall ADODB::Recordset15::MoveNext(void)" (?MoveNext@Recordset15@ADODB@@QAEJXZ) referenced in function "public: long __thiscall CApproRS::GetNumRows(void)" (?GetNumRows@CApproRS@@QAEJXZ)
    util.obj : error LNK2001: unresolved external symbol "public: long __thiscall ADODB::Recordset15::MoveNext(void)" (?MoveNext@Recordset15@ADODB@@QAEJXZ)
    apprors.obj : error LNK2019: unresolved external symbol "public: long __thiscall ADODB::Recordset15::GetState(void)" (?GetState@Recordset15@ADODB@@QAEJXZ) referenced in function "public: long __thiscall CApproRS::GetNumRows(void)" (?GetNumRows@CApproRS@@QAEJXZ)
    apprors.obj : error LNK2019: unresolved external symbol "public: short __thiscall ADODB::Recordset15::GetBOF(void)" (?GetBOF@Recordset15@ADODB@@QAEFXZ) referenced in function "public: void __thiscall CApproRS::MoveFirst(void)" (?MoveFirst@CApproRS@@QAEXXZ)
    apprors.obj : error LNK2019: unresolved external symbol "public: class _variant_t __thiscall ADODB::Recordset15::GetCollect(class _variant_t const &)" (?GetCollect@Recordset15@ADODB@@QAE?AV_variant_t@@ABV3@@Z) referenced in function "public: class AString __thiscall CApproRS::GetColumn(class AString)" (?GetColumn@CApproRS@@QAE?AVAString@@V2@@Z)
    apprors.obj : error LNK2019: unresolved external symbol "public: long __thiscall ADODB::Connection15::Open(class _bstr_t,class _bstr_t,class _bstr_t,long)" (?Open@Connection15@ADODB@@QAEJV_bstr_t@@00J@Z) referenced in function "public: void __thiscall CApproData::Reconnect(void)" (?Reconnect@CApproData@@QAEXXZ)
    apprors.obj : error LNK2019: unresolved external symbol "public: void __thiscall ADODB::Connection15::PutCommandTimeout(long)" (?PutCommandTimeout@Connection15@ADODB@@QAEXJ@Z) referenced in function "public: void __thiscall CApproData::Reconnect(void)" (?Reconnect@CApproData@@QAEXXZ)
    apprors.obj : error LNK2019: unresolved external symbol "public: void __thiscall ADODB::Connection15::PutCursorLocation(enum ADODB::CursorLocationEnum)" (?PutCursorLocation@Connection15@ADODB@@QAEXW4CursorLocationEnum@2@@Z) referenced in function "public: void __thiscall CApproData::Reconnect(void)" (?Reconnect@CApproData@@QAEXXZ)
    apprors.obj : error LNK2019: unresolved external symbol "public: long __thiscall ADODB::Connection15::Close(void)" (?Close@Connection15@ADODB@@QAEJXZ) referenced in function "public: void __thiscall CApproData::Reconnect(void)" (?Reconnect@CApproData@@QAEXXZ)
    LaserProTL.obj : error LNK2019: unresolved external symbol "public: class _bstr_t __thiscall ADODB::Connection15::GetConnectionString(void)" (?GetConnectionString@Connection15@ADODB@@QAE?AV_bstr_t@@XZ) referenced in function "public: int __thiscall CStandardTranslation::ProcessExportData(class CTranslateBuffer *,class CArray<class CTable,class CTable &> &,struct ref_tab_type &,class _com_ptr_t<class _com_IIID<struct ADODB::_Connection,&struct __s_GUID const _GUID_00001550_0000_0010_8000_00aa006d2ea4> >)" (?ProcessExportData@CStandardTranslation@@QAEHPAVCTranslateBuffer@@AAV?$CArray@VCTable@@AAV1@@@AAUref_tab_type@@V?$_com_ptr_t@V?$_com_IIID@U_Connection@ADODB@@$1?_GUID_00001550_0000_0010_8000_00aa006d2ea4@@3U__s_GUID@@B@@@@@Z)
    msxmlconverter.obj : error LNK2019: unresolved external symbol "public: short __thiscall MSXML2::IXMLDOMDocument::loadXML(class _bstr_t)" (?loadXML@IXMLDOMDocument@MSXML2@@QAEFV_bstr_t@@@Z) referenced in function "public: static struct MSXML2::IXMLDOMDocument * __cdecl MSXMLConverter::Load(class ATL::CStringT<char,class StrTraitMFC_DLL<char,class ATL::ChTraitsCRT<char> > >)" (?Load@MSXMLConverter@@SAPAUIXMLDOMDocument@MSXML2@@V?$CStringT@DV?$StrTraitMFC_DLL@DV?$ChTraitsCRT@D@ATL@@@@@ATL@@@Z)
    util.obj : error LNK2019: unresolved external symbol "public: class _variant_t __thiscall ADODB::Field20::GetValue(void)" (?GetValue@Field20@ADODB@@QAE?AV_variant_t@@XZ) referenced in function "public: static int __cdecl CUtil::GetValueFromQuery(class ATL::CStringT<char,class StrTraitMFC_DLL<char,class ATL::ChTraitsCRT<char> > >,int,class ATL::CStringT<char,class StrTraitMFC_DLL<char,class ATL::ChTraitsCRT<char> > > &,class _com_ptr_t<class _com_IIID<struct ADODB::_Connection,&struct __s_GUID const _GUID_00001550_0000_0010_8000_00aa006d2ea4> >)" (?GetValueFromQuery@CUtil@@SAHV?$CStringT@DV?$StrTraitMFC_DLL@DV?$ChTraitsCRT@D@ATL@@@@@ATL@@HAAV23@V?$_com_ptr_t@V?$_com_IIID@U_Connection@ADODB@@$1?_GUID_00001550_0000_0010_8000_00aa006d2ea4@@3U__s_GUID@@B@@@@@Z)
    util.obj : error LNK2019: unresolved external symbol "public: class _com_ptr_t<class _com_IIID<struct ADODB::Field,&struct __s_GUID const _GUID_00001569_0000_0010_8000_00aa006d2ea4> > __thiscall ADODB::Fields15::GetItem(class _variant_t const &)" (?GetItem@Fields15@ADODB@@QAE?AV?$_com_ptr_t@V?$_com_IIID@UField@ADODB@@$1?_GUID_00001569_0000_0010_8000_00aa006d2ea4@@3U__s_GUID@@B@@@@ABV_variant_t@@@Z) referenced in function "public: static int __cdecl CUtil::GetValueFromQuery(class ATL::CStringT<char,class StrTraitMFC_DLL<char,class ATL::ChTraitsCRT<char> > >,int,class ATL::CStringT<char,class StrTraitMFC_DLL<char,class ATL::ChTraitsCRT<char> > > &,class _com_ptr_t<class _com_IIID<struct ADODB::_Connection,&struct __s_GUID const _GUID_00001550_0000_0010_8000_00aa006d2ea4> >)" (?GetValueFromQuery@CUtil@@SAHV?$CStringT@DV?$StrTraitMFC_DLL@DV?$ChTraitsCRT@D@ATL@@@@@ATL@@HAAV23@V?$_com_ptr_t@V?$_com_IIID@U_Connection@ADODB@@$1?_GUID_00001550_0000_0010_8000_00aa006d2ea4@@3U__s_GUID@@B@@@@@Z)
    util.obj : error LNK2019: unresolved external symbol "public: class _com_ptr_t<class _com_IIID<struct ADODB::Fields,&struct __s_GUID const _GUID_00001564_0000_0010_8000_00aa006d2ea4> > __thiscall ADODB::Recordset15::GetFields(void)" (?GetFields@Recordset15@ADODB@@QAE?AV?$_com_ptr_t@V?$_com_IIID@UFields@ADODB@@$1?_GUID_00001564_0000_0010_8000_00aa006d2ea4@@3U__s_GUID@@B@@@@XZ) referenced in function "public: static int __cdecl CUtil::GetValueFromQuery(class ATL::CStringT<char,class StrTraitMFC_DLL<char,class ATL::ChTraitsCRT<char> > >,int,class ATL::CStringT<char,class StrTraitMFC_DLL<char,class ATL::ChTraitsCRT<char> > > &,class _com_ptr_t<class _com_IIID<struct ADODB::_Connection,&struct __s_GUID const _GUID_00001550_0000_0010_8000_00aa006d2ea4> >)" (?GetValueFromQuery@CUtil@@SAHV?$CStringT@DV?$StrTraitMFC_DLL@DV?$ChTraitsCRT@D@ATL@@@@@ATL@@HAAV23@V?$_com_ptr_t@V?$_com_IIID@U_Connection@ADODB@@$1?_GUID_00001550_0000_0010_8000_00aa006d2ea4@@3U__s_GUID@@B@@@@@Z)

    Alguie nsabe porque me salen? o como podre areglarlos?

    Saludos

    miércoles, 18 de septiembre de 2013 17:51

Todas las respuestas

  • bueno no soy especialista, pero te doy una mano, parece que no linkiaste los archivos de ese programa, parece ado, pero no quiero tentarme a decirlo, igual sea el programa que sea debes linkear o System.Data.dll o System.Xml.dll que de seguro deben tener alguna archivo libreria 

    mas informacion leer 

    http://support.microsoft.com/kb/816158/es


    todo problema tiene una solucion, sino no seria un problema seria algo inevitable

    domingo, 20 de octubre de 2013 1:09