XE4 There is no overloaded version GetTextExtentPoint32A

标签: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

版权声明:完美者 发表于 2021-01-01 12:57:20。
转载请注明:XE4 There is no overloaded version GetTextExtentPoint32A | 完美导航

暂无评论

暂无评论...