The Strange Case of the VCL Forms ClientWidth and the Windows Versions PE Flags

Only a few developers are aware that the behavior of Windows applications varies depending on the Windows versions declared in their PE headers in the EXE file. Delphi customers are reporting some unexpected effects as a result of a core configuration change in Delphi 11 that went unnoticed by most. A Windows application is stored in an EXE file in the PE format, which includes a number of PE…
Read more