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.
精彩评论