本文主要是介绍atlcomcli.h(1756): error C2338: CVarTypeInfo char cannot be compiled with /J or _CHAR_UNSIGNED fl,希望对大家解决编程问题提供一定的参考价值,需要的开发者们随着小编来一起学习吧!
我拿到一个VS的工程,用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
这篇关于atlcomcli.h(1756): error C2338: CVarTypeInfo char cannot be compiled with /J or _CHAR_UNSIGNED fl的文章就介绍到这儿,希望我们推荐的文章对编程师们有所帮助!