开发者

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

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜