现在的位置: 首页 > 综合 > 正文

error C2664 , C2039

2013年11月01日 ⁄ 综合 ⁄ 共 383字 ⁄ 字号 评论关闭

 错误 1 error C2664: 'CFrameWnd::Create' : cannot convert parameter 2 from 'const char [16]' to 'LPCTSTR' 

错误 2 error C2664: 'strcpy' : cannot convert parameter 1 from 'WCHAR [32]' to 'char *' 

错误 3 error C2039: 'CreateFontIndirectA' : is not a member of 'CFont' ..

错误 4 error C2039: 'TextOutA' : is not a member of 'CPaintDC' ..

错误 5 error C2039: 'TextOutA' : is not a member of 'CPaintDC' ...

类似如这样的问题,可以通过以下

 

解决方法:项目属性—〉配置属性—〉常规—〉字符集—〉多字节字符集

抱歉!评论已关闭.