zoukankan      html  css  js  c++  java
  • XE4 There is no overloaded version GetTextExtentPoint32A

    [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重名了,导致编译错误

  • 相关阅读:
    ZOJ 3556
    ZOJ 2836
    HDU 2841
    HDU 4135
    POJ 3695
    POJ 2773
    HDU 4407
    HDU 1796
    ZOJ 3688
    ZOJ 3687
  • 原文地址:https://www.cnblogs.com/jijm123/p/14203019.html
Copyright © 2011-2022 走看看