ATL link error problem

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Jun

    #1

    ATL link error problem

    anyone know how this error shows?
    how can i solve this?

    LINK : error LNK2020: unresolved token (0A0000EA) _AtlBaseModule
    LINK : error LNK2020: unresolved token (0A0000EC) atlTraceGeneral
    LINK : error LNK2020: unresolved token (0A0000ED)
    ?s_trace@CTrace @ATL@@2V12@A
    LINK : fatal error LNK1120: 3 unresolved externals

    thanks in advance.


  • Jun

    #2
    Re: ATL link error problem

    i include the msvcrtd.lib
    after solving this,... got me new problem :(


    LagurClass.obj : error LNK2019: unresolved external symbol "void __stdcall
    _com_issue_erro r(long)" (?_com_issue_er ror@@YGXJ@Z) referenced in function
    "void __cdecl _com_util::Chec kError(long)" (?CheckError@_c om_util@@YAXJ@Z )

    LagurClass.obj : error LNK2019: unresolved external symbol "unsigned short *
    __stdcall _com_util::Conv ertStringToBSTR (char const *)"
    (?ConvertString ToBSTR@_com_uti l@@YGPAGPBD@Z) referenced in function "public:
    __thiscall _bstr_t::Data_t ::Data_t(char const *)"
    (??0Data_t@_bst r_t@@QAE@PBD@Z)

    LagurClass.obj : error LNK2019: unresolved external symbol "char * __stdcall
    _com_util::Conv ertBSTRToString (unsigned short *)"
    (?ConvertBSTRTo String@_com_uti l@@YGPADPAG@Z) referenced in function "public:
    char const * __thiscall _bstr_t::Data_t ::GetString(voi d)const "
    (?GetString@Dat a_t@_bstr_t@@QB EPBDXZ)



    "Jun" <j_core99@yahoo .com> wrote in message
    news:O68cXCAcFH A.3808@TK2MSFTN GP14.phx.gbl...[color=blue]
    > anyone know how this error shows?
    > how can i solve this?
    >
    > LINK : error LNK2020: unresolved token (0A0000EA) _AtlBaseModule
    > LINK : error LNK2020: unresolved token (0A0000EC) atlTraceGeneral
    > LINK : error LNK2020: unresolved token (0A0000ED)
    > ?s_trace@CTrace @ATL@@2V12@A
    > LINK : fatal error LNK1120: 3 unresolved externals
    >
    > thanks in advance.
    >[/color]


    Comment

    • Jun

      #3
      Re: ATL link error problem

      solved

      "Jun" <j_core99@yahoo .com> wrote in message
      news:O5ce9kJcFH A.1404@TK2MSFTN GP09.phx.gbl...[color=blue]
      >i include the msvcrtd.lib
      > after solving this,... got me new problem :(
      >
      >
      > LagurClass.obj : error LNK2019: unresolved external symbol "void __stdcall
      > _com_issue_erro r(long)" (?_com_issue_er ror@@YGXJ@Z) referenced in function
      > "void __cdecl _com_util::Chec kError(long)" (?CheckError@_c om_util@@YAXJ@Z )
      >
      > LagurClass.obj : error LNK2019: unresolved external symbol "unsigned short
      > * __stdcall _com_util::Conv ertStringToBSTR (char const *)"
      > (?ConvertString ToBSTR@_com_uti l@@YGPAGPBD@Z) referenced in function
      > "public: __thiscall _bstr_t::Data_t ::Data_t(char const *)"
      > (??0Data_t@_bst r_t@@QAE@PBD@Z)
      >
      > LagurClass.obj : error LNK2019: unresolved external symbol "char *
      > __stdcall _com_util::Conv ertBSTRToString (unsigned short *)"
      > (?ConvertBSTRTo String@_com_uti l@@YGPADPAG@Z) referenced in function
      > "public: char const * __thiscall _bstr_t::Data_t ::GetString(voi d)const "
      > (?GetString@Dat a_t@_bstr_t@@QB EPBDXZ)
      >
      >
      >
      > "Jun" <j_core99@yahoo .com> wrote in message
      > news:O68cXCAcFH A.3808@TK2MSFTN GP14.phx.gbl...[color=green]
      >> anyone know how this error shows?
      >> how can i solve this?
      >>
      >> LINK : error LNK2020: unresolved token (0A0000EA) _AtlBaseModule
      >> LINK : error LNK2020: unresolved token (0A0000EC) atlTraceGeneral
      >> LINK : error LNK2020: unresolved token (0A0000ED)
      >> ?s_trace@CTrace @ATL@@2V12@A
      >> LINK : fatal error LNK1120: 3 unresolved externals
      >>
      >> thanks in advance.
      >>[/color]
      >
      >[/color]


      Comment

      • senthilkm

        #4
        Re: ATL link error problem


        Hi,

        Can you tell me how you have soled this issue.
        --Senthil



        --
        senthilkm
        ------------------------------------------------------------------------
        Posted via http://www.mcse.ms
        ------------------------------------------------------------------------
        View this thread: http://www.mcse.ms/message1671534.html

        Comment

        • antok

          #5
          Re: ATL link error problem


          hi
          can u tell me how u solved the problem
          i also have the same problem



          --
          antok
          ------------------------------------------------------------------------
          Posted via http://www.mcse.ms
          ------------------------------------------------------------------------
          View this thread: http://www.mcse.ms/message1671534.html

          Comment

          Working...