Seek (int, word) deprecated in Delphi XE4 already Root › Technical support › Tricks This topic has 3 replies, 2 voices, and was last updated 10 years, 2 months ago by HeDiBo. Viewing 4 posts - 1 through 4 (of 4 total) Author Posts July 15, 2014 at 1:50 pm #36209 HeDiBoParticipant 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 July 15, 2014 at 3:06 pm #52207 SupportKeymaster Do you know how this deprecated code may be replaced? July 15, 2014 at 7:08 pm #52213 HeDiBoParticipant '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} September 19, 2014 at 10:37 am #52468 HeDiBoParticipant Solved :a3: Author Posts Viewing 4 posts - 1 through 4 (of 4 total) You must be logged in to reply to this topic. Log In Username: Password: Keep me signed in Log In Root › Technical support › Tricks