Windows Mobile下Win32项目加入ATL支持,需要增加以下代码: #define _ATL_CSTRING_EXPLICIT_CONSTRUCTORS // some CString constructors will be explicit#include <atlbase.h>#include <atlstr.h>#include <atlcoll.h> 其中_ATL_CSTRING_EXPLICIT_CONSTRUCTORS为支持CString的定义。