A.M. Hoornweg 144 Posted March 18, 2022 Hello all, The delphi 11.1 VCL has some subtle internal changes in high-dpi behavior with respect to version 11.0. I would like to detect in code if the compiler in use is 11.1 or higher. Is there any possibility to do that? Share this post Link to post
A.M. Hoornweg 144 Posted March 18, 2022 3 minutes ago, Uwe Raabe said: {$IF RTLVersion111} Fantastic! Share this post Link to post
SwiftExpat 65 Posted March 18, 2022 1 hour ago, Uwe Raabe said: {$IF RTLVersion111} Where is this defined, in the compiler? Share this post Link to post
Uwe Raabe 2057 Posted March 18, 2022 6 minutes ago, SwiftExpat said: Where is this defined, in the compiler? No, in System.pas. That's why you cant' use IFDEF here. 1 Share this post Link to post
SwiftExpat 65 Posted March 18, 2022 Thanks for that, I was confused because i did not see a RTLVersion110 I can see what they did in 10.4. RTLVersion = 34.00; RTLVersion1041 = True; RTLVersion1042 = True; Share this post Link to post
Bill Meyer 337 Posted March 18, 2022 14 minutes ago, Uwe Raabe said: No, in System.pas. That's why you cant' use IFDEF here. Is this a recent addition? In 10.2.3 I don't see any similar entry in system.pas, just the RTLVersion - 32.00 Share this post Link to post