Eryk Sun <eryk...@gmail.com> added the comment:
The embedded manifest in python[_d].exe is missing, so the process is running with Windows 8 compatibility mode (i.e. 6.2.9200), and thus the check for Windows 11+ (10.0.22000+) is false. It's disappointing that compatibility mode doesn't restore the old DOS device behavior, but whatever. bpo-45220 removed the winuser.h include from the PC\*.rc files, so the RT_MANIFEST resource type macro isn't defined. It needs to be defined in the file or a common header. For example: #define RT_MANIFEST 24 1 RT_MANIFEST "python.manifest" ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue45354> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com