一.前言 如图所示,调用含有CString参数的函数,报如下错误. 二.原因 头文件包含错误 MFC工程下CString 的头文件是:#include <afx.h> 其他工程下CString 的头文件是:#include <atlstr.h>