MFC vc ++ code illustrates the seriousness of the project file status line to suppress error C3646 "m_SockClient": Unknown rewrite specifier

Item severity code file line prohibiting display state
error C3646 "m_SockClient": Unknown rewrite specifier MFC_TCP_CSocket_Client c: \ users \ tt2018 \ documents \ visual studio 2015 \ projects \ mfc_tcp_csocket_client \ mfc_tcp_csocket_client \ mfc_tcp_csocket_clientdlg.h 38

aa.h contains bb.h, bb.h contains aa.h will error. Therefore, if aa.h contains bb.h, bb.h do not contain, may contain aa.h header files in bb.cpp in. 

Reference Code Download

Not included in the MFC_TCP_CSocket_ClientDlg.h in #include "ClientSocket.h"
can only be included in the MFC_TCP_CSocket_ClientDlg.cpp in #include "ClientSocket.h" 

Reference documents:
https://blog.csdn.net/greless/article/details/72763171

https://blog.csdn.net/txwtech/article/details/93380359

https://blog.csdn.net/txwtech

Guess you like

Origin www.cnblogs.com/txwtech/p/11074283.html