Error && MFC

 Error:MSB6006 "rc.exe" exited with code 2.

  目录含有中文

 Error:no instance of overloaded function "CListCtrl::InsertItem" matches the argument list.

 m_list.InsertItem(2, "字符串");  改成 m_list.InsertItem(2, _T(" 字符串"));

 Error:for information on how your program can cause an assertion Failure,
     see the Visual C documentation on asserts.  Press Retry to debug the applicallon) .
    指针或参数错误

 Error: C2664 'void DDX_Control(CDataExchange *,int,CWnd &)': cannot convert argument 3 from 'CString' to 'CWnd &' .

    为对话框控件添加变量时,Category 选择 Value 而不是 Control 类型.
原文地址:https://www.cnblogs.com/yunqie/p/6052075.html