error C2065: “CString”: 未声明的标识符 ;fatal error C1189: #error : afxstr.h can only be used in MFC proje

来源:互联网 发布:淘宝联盟佣金结算 编辑:程序博客网 时间:2024/06/06 04:33

转自VC错误:http://www.vcerror.com/?p=1388


问题描述:
error C2065: “CString”: 未声明的标识符 

fatal error C1189: #error :  afxstr.h can only be used in MFC projects.  Use atlstr.h


解决方法:
详细的解决方法可参考VC错误:http://www.vcerror.com/?p=1388
0 0