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

Only a few developers are aware that Windows application behave differently depending on the Windows versions declared in their PE headers in the EXE file. This has some unexpected effects Delphi customers are reporting, due to a core configuration change in Delphi 11, which 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