数据问题
static CTypedPtrList<CObList, CObjOffice *> m_queueOffice;

void CAuxPageOffice::ShowListInfo()
{
        CWnd *pWnd = GetDlgItem(IDC_EDIT_AUXOFFNO);
          pWnd->GetWindowText(strOffNO);
dwNO = atol(strOffNO);
pWnd = GetDlgItem(IDC_EDIT_AUXOFFNAME);
pWnd->GetWindowText(strOffName);
pWnd = GetDlgItem(IDC_EDIT_AUXOFFSPELL);
pWnd->GetWindowText(strOffSpell);
pWnd = GetDlgItem(IDC_EDIT_AUXOFFREMARK);
pWnd->GetWindowText(strOffRe);
            CObjOffice *obj = new CObjOffice();
            obj->set_OfficeNO(dwNO);
            obj->set_OfficeName(strOffName);
            obj->set_OfficeSpell(strOffSpell);
            obj->set_OfficeRe(strOffRe);
            FindObj(obj);//调用

}
bool CAuxPageOffice::FindObj(CObjOffice * obj)
{
     POSITION pos = m_queueOffice.GetHeadPosition();
    bool bExist = false;
     if( *obj  ==  *m_queueOffice.GetAt(pos))//这里出错了,去掉 * 就可以,但这样比较的是地址,我想比较值
    {
           bExist = true;
           break;
   }

}错误信息::\Work\Report\AuxPageOffice.cpp(225) : error C2678: binary '==' : no operator defined which takes a left-hand operand of type 'class CObjOffice' (or there is no acceptable conversion)