开发者

Request administrator rights on Win Vista/7 from a c++ app

开发者 https://www.devze.com 2023-03-09 05:10 出处:网络
I found info on how to do it in c#, but how to make a C++开发者_开发技巧 app pop-up that UAC \"Run as administrator\" when it is run?You can set the manifest in Visual Studio in:

I found info on how to do it in c#, but how to make a C++开发者_开发技巧 app pop-up that UAC "Run as administrator" when it is run?


You can set the manifest in Visual Studio in:

Project >> Properties >> Configuration Properties >> Linker >> Manifest File >> UAC Execution Level.

0

精彩评论

暂无评论...
验证码 换一张
取 消