This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author eryksun
Recipients eric.snow, eryksun, lukasz.langa, miss-islington, paul.moore, serhiy.storchaka, sobolevn, steve.dower, tim.golden, vstinner, zach.ware
Date 2021-11-10.04:32:48
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1636518768.51.0.669834933406.issue45220@roundup.psfhosted.org>
In-reply-to
Content
Steve, instead of manually defining RT_MANIFEST, try including "winresrc.h" in the resource definition files. This SDK header includes "winuser.rh" (note the ".rh" extension), which, among other things, includes the following RC_INVOKED definitions from "winuser.h":

    #ifdef RC_INVOKED
    #define RT_MANIFEST                        24
    #define CREATEPROCESS_MANIFEST_RESOURCE_ID  1
    #define ISOLATIONAWARE_MANIFEST_RESOURCE_ID 2
    #define ISOLATIONAWARE_NOSTATICIMPORT_MANIFEST_RESOURCE_ID 3
    #define ISOLATIONPOLICY_MANIFEST_RESOURCE_ID 4
    #define ISOLATIONPOLICY_BROWSER_MANIFEST_RESOURCE_ID 5
    #define MINIMUM_RESERVED_MANIFEST_RESOURCE_ID 1   /* inclusive */
    #define MAXIMUM_RESERVED_MANIFEST_RESOURCE_ID 16  /* inclusive */
History
Date User Action Args
2021-11-10 04:32:48eryksunsetrecipients: + eryksun, paul.moore, vstinner, tim.golden, lukasz.langa, eric.snow, zach.ware, serhiy.storchaka, steve.dower, miss-islington, sobolevn
2021-11-10 04:32:48eryksunsetmessageid: <1636518768.51.0.669834933406.issue45220@roundup.psfhosted.org>
2021-11-10 04:32:48eryksunlinkissue45220 messages
2021-11-10 04:32:48eryksuncreate