Embed manifest file to require administrator execution level with mingw32

后端 未结 2 1682
时光取名叫无心
时光取名叫无心 2021-02-20 15:13

I\'m cross compiling an application with i586-mingw32msvc under ubuntu.

I\'m having difficulties understanding how to embed a manifest file to require administrator exec

2条回答
  •  清酒与你
    2021-02-20 15:32

    With some intense voodoo I got it to work with this on my hello.rc file:

    1 24 "hello.exe.manifest"
    

    Won't even search to know what the 24 is for (resource type manifest?!).. :-)

提交回复
热议问题