syntax error : identifier Count

16 篇文章 0 订阅
4 篇文章 0 订阅

c:\program files (x86)\microsoft sdks\windows\v7.0a\include\gdiplustypes.h(744) : error C2061: syntax error : identifier 'Count'
c:\program files (x86)\microsoft sdks\windows\v7.0a\include\gdiplustypes.h(744) : error C2146: syntax error : missing ';' before identifier 'BYTE'
c:\program files (x86)\microsoft sdks\windows\v7.0a\include\gdiplusheaders.h(196) : error C2061: syntax error : identifier '__out_ecount'
c:\program files (x86)\microsoft sdks\windows\v7.0a\include\gdiplusflat.h(2347) : error C2061: syntax error : identifier '__out_bcount'
c:\program files (x86)\microsoft sdks\windows\v7.0a\include\gdiplusflat.h(2355) : error C2061: syntax error : identifier '__out_bcount'
c:\program files (x86)\microsoft sdks\windows\v7.0a\include\gdiplusflat.h(2388) : error C2061: syntax error : identifier '__out_ecount'
c:\program files (x86)\microsoft sdks\windows\v7.0a\include\gdiplusfontfamily.h(123) : error C2065: '__out_ecount' : undeclared identifier
c:\program files (x86)\microsoft sdks\windows\v7.0a\include\gdiplusfontfamily.h(123) : error C2146: syntax error : missing ')' before identifier 'LPWSTR'
c:\program files (x86)\microsoft sdks\windows\v7.0a\include\gdiplusfontfamily.h(123) : error C2433: 'GetFamilyName' : 'inline' not permitted on data declarations
c:\program files (x86)\microsoft sdks\windows\v7.0a\include\gdiplusfontfamily.h(123) : error C2350: 'FontFamily::GetFamilyName' is not a static member
c:\program files (x86)\microsoft sdks\windows\v7.0a\include\gdiplusfontfamily.h(123) : error C2440: 'initializing' : cannot convert from 'int' to 'enum Gdiplus::Status'
        Conversion to enumeration type requires an explicit cast (static_cast, C-style cast or function-style cast)
c:\program files (x86)\microsoft sdks\windows\v7.0a\include\gdiplusfontfamily.h(125) : error C2059: syntax error : ')'
c:\program files (x86)\microsoft sdks\windows\v7.0a\include\gdiplusfontfamily.h(126) : error C2143: syntax error : missing ';' before '{'
c:\program files (x86)\microsoft sdks\windows\v7.0a\include\gdiplusfontfamily.h(126) : error C2447: missing function header (old-style formal list?)
c:\program files (x86)\microsoft sdks\windows\v7.0a\include\gdiplusimagecodec.h(37) : error C2660: 'GdipGetImageDecoders' : function does not take 3 parameters
c:\program files (x86)\microsoft sdks\windows\v7.0a\include\gdiplusimagecodec.h(56) : error C2660: 'GdipGetImageEncoders' : function does not take 3 parameters

 

GDI头文件版本不对,这个错误是版本太高了,VC6不支持。替换成VC6支持的版本即可。

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值