程序出现以下错误:
E:\C++\myCode\Chat\ChatDlg.cpp(126) : error C2514: 'CChatSocket' : class has no constructors
        e:\c++\mycode\chat\chatdlg.h(3) : see declaration of 'CChatSocket'
E:\C++\myCode\Chat\ChatDlg.cpp(127) : error C2027: use of undefined type 'CChatSocket'
        e:\c++\mycode\chat\chatdlg.h(3) : see declaration of 'CChatSocket'
E:\C++\myCode\Chat\ChatDlg.cpp(127) : error C2227: left of '->Create' must point to class/struct/union
E:\C++\myCode\Chat\ChatDlg.cpp(129) : warning C4150: deletion of pointer to incomplete type 'CChatSocket'; no destructor called
        e:\c++\mycode\chat\chatdlg.h(3) : see declaration of 'CChatSocket'
E:\C++\myCode\Chat\ChatDlg.cpp(135) : error C2027: use of undefined type 'CChatSocket'
        e:\c++\mycode\chat\chatdlg.h(3) : see declaration of 'CChatSocket'
E:\C++\myCode\Chat\ChatDlg.cpp(135) : error C2227: left of '->Connect' must point to class/struct/union
E:\C++\myCode\Chat\ChatDlg.cpp(135) : fatal error C1903: unable to recover from previous error(s); stopping compilation每一条说没有构造器,出错处:  m_pSocket=new CChatSocket(this);
但检查后发现构造函数是有的啊:CChatSocket::CChatSocket(CChatDlg * pDlg)
                                                    {
                                                         m_pDlg=pDlg;
                                                     }
各位大哥帮忙啊!!谢谢