dummzeuch 1540 Posted January 6, 2024 I just found a typo in the TWMDPI record declaration in the Delphi 10 Winapi.Messages unit: TWMDpi = record Msg: Cardinal; MsgFiller: TDWordFiller; YDpi: Word; XDpi: Word; WParamFiller: TDWordFiller; ScalledRect: PRECT; // <- here Result: LRESULT; end; ScaledRect is misspelled as ScalledRect. I am not sure whether this spelling error was in the original installation or whether I might have changed this declaration by accident (No, that unit is not readonly on my system.) Since this record was introduced with Delphi 10 it might just have been a typo that was corrected in later versions. Could somebody with an unchanged installation please check? Share this post Link to post
aehimself 402 Posted January 6, 2024 It seems the typo was not very long lived. Delphi 10 Seattle Delphi 10.1 Berlin Update 2 1 Share this post Link to post
dummzeuch 1540 Posted January 6, 2024 Yes, Delphi 10 was the only version where the code failed to compile. XE8 didn't have that record, in 10.1, latest update, it was correct. So it really is a bug I'm the sources, not an accidental edit by me. Thanks for confirming. Share this post Link to post