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?
Right-click the C drive and select Properties. In the Properties box, select the Security tab and verify that the Administrator's group has full privileges. To set up C drive sharing with a specific account, select Sharing and click Advanced Sharing.
On the Windows desktop, right-click the Visual Studio shortcut, and then select Properties. Select the Advanced button, and then select the Run as administrator check box. Select OK, and then select OK again.
You can set the manifest in Visual Studio in:
Project >> Properties >> Configuration Properties >> Linker >> Manifest File >> UAC Execution Level.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With