码迷,mamicode.com
首页 > 其他好文 > 详细

XE4 There is no overloaded version GetTextExtentPoint32A

时间:2021-01-01 12:57:20      阅读:0      评论:0      收藏:0      [点我收藏+]

标签:cal   with   overload   rdate   错误   编译错误   can   point   text   

[dcc32 Error] dxGrDate.pas(1402): E2250 There is no overloaded version of ‘GetTextExtentPoint32‘ that can be called with these arguments

 

GetTextExtentPoint32A(Handle, PWideChar(ACaption), Length(ACaption), Size);

 

change to 

  var
    mysize:TSize;

 

GetTextExtentPoint32(Handle,PWideChar(ACaption),Length(ACaption),mySize);

 

用的size和系统size重名了,导致编译错误

XE4 There is no overloaded version GetTextExtentPoint32A

标签:cal   with   overload   rdate   错误   编译错误   can   point   text   

原文地址:https://www.cnblogs.com/jijm123/p/14203019.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!