Seek (int, word) deprecated in Delphi XE4 already

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #36209
    HeDiBo
    Participant

    In acPNG there are two instances of this:

    Code:
    {$IFDEF DELPHI_XE6}
    Seek(Longint(FHeader.Length + 4), soFromCurrent);
    {$ELSE}
    Seek(FHeader.Length + 4, soFromCurrent);
    {$ENDIF}

    But is was already deprecated in Delphi XE4 (and maybe even earlier than that). Another place of deprecated code that can be eliminated.

    Regards ;-}

    Dick

    #52207
    Support
    Keymaster

    Do you know how this deprecated code may be replaced?

    #52213
    HeDiBo
    Participant
    'Support' wrote:

    Do you know how this deprecated code may be replaced?

    Code:
    {$IFDEF DELPHI_XE4}
    Seek(Longint(FHeader.Length + 4), soFromCurrent);
    {$ELSE}
    Seek(FHeader.Length + 4, soFromCurrent);
    {$ENDIF}
    #52468
    HeDiBo
    Participant

    Solved :a3:

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.