PhoneTaxDlg.obj : error LNK2001: unresolved external symbol "protected: virtual struct AFX_EVENTSINKMAP const * __thiscall CPhoneTaxDlg::GetEventSinkMap(void)const " (?GetEventSinkMap@CPhoneTaxDlg@@MBEPBUAFX_EVENTSINKMAP@@XZ)
Release/PhoneTax.exe : fatal error LNK1120: 1 unresolved externals
Error executing link.exe.

解决方案 »

  1.   

    声明了成员函数GetEventSinkMap,但是没有定义(实现)它。
      

  2.   

    我对天发誓:我没有定义GetEventSinkMap。
    可能是向导自动加的。
    我不知删除了什么东西,就这样了.....
    怎么办????????
      

  3.   

    查一下GetEventSinkMap所在的地方,然后将其删除
      

  4.   

    天地良心,找不到!GetEventSinkMap 字符串
      

  5.   

    你这时Activex的事件声明于它的驱动不符有可能。你看你的程序代码中有无
    DECLARE_EVENTSINK_MAP() //在头文件中声明的在DECLARE_MESSAGE_MAP()上一行BEGIN_EVENTSINK_MAP(CLatitudeServerDlg, CDialog) //在cpp文件中
        //{{AFX_EVENTSINK_MAP(CLatitudeServerDlg)
    ON_EVENT(CLatitudeServerDlg, IDC_MSCOMM1, 1 /* OnComm */, OnOnCommMscomm1, VTS_NONE)
    //}}AFX_EVENTSINK_MAP
    END_EVENTSINK_MAP()他们俩不能只有其一,根据你的情况好象你缺少DECLARE_EVENTSINK_MAP()
      

  6.   

    edit->find in files 
    search GetEventSinkMap