atlcomcli.h(1756): error C2338: CVarTypeInfo< char > cannot be compiled with /J or _CHAR_UNSIGNED fl

发布于 2020-05-05  51 次阅读


问题描述

用VS2010 编译 时提示:

atlcomcli.h(1756): error C2338: CVarTypeInfo< char > cannot be compiled with /J or _CHAR_UNSIGNED flag enabled

atlcomcli.h(1778): error C2338: CVarTypeInfo< char* > cannot be compiled with /J or _CHAR_UNSIGNED flag enabled


解决方法:

下载一个补丁,装上就OK了

http://connect.microsoft.com/VisualStudio/Downloads/DownloadDetails.aspx?DownloadID=33885


一沙一世界,一花一天堂。君掌盛无边,刹那成永恒。