dummzeuch 1505 Posted September 15 28 minutes ago, Uwe Raabe said: IIRC, that has been Delphi 6 or 7. One can even test for that with {$IF CONDITIONALEXPRESSIONS}. It was Delphi 6. (That's one of the reasons why GExperts dropped support for Delphi 5). Share this post Link to post
Carlo Barazzetta 116 Posted September 16 (edited) On 9/15/2024 at 12:47 PM, Angus Robertson said: You still need {$IF Declared(RTLVersion122)} if you want the component to also work on 12.0 and 12.1. And $IF is not supported on earlier compilers, if that matters. Angus Using {$IF (CompilerVersion >= 36)}TListSize = NativeInt;{$ELSE}TListSize = Integer;{$IFEND} is compatible also with 12.0 and 12.1, because in System.Classes property Items is already defined as [Index: NativeInt] (they missed to raise a warning in 12.0 and 12.1) Edited September 17 by Carlo Barazzetta Share this post Link to post
baoquan.zuo 24 Posted September 18 The Project Options in the Delphi 12.2 IDE does not even support such option, does it? (I want to disable the warning in dproj files) Share this post Link to post
pyscripter 689 Posted September 18 14 minutes ago, baoquan.zuo said: The Project Options in the Delphi 12.2 IDE does not even support such option, does it? (I want to disable the warning in dproj files) No. Share this post Link to post