I want to make my program ask for admin rights when it starts. I already found out that you can do this by doing this :
Properties -> Linker -> Manifest File -> UAC Execution Level -> requireAdministrator (/level='requireAdministrator')
So here is my actual question:
Couldn't I change this setting with my code? Because I can do this for example:
#pragma comment (lib, winmm.lib);
and adding a lib is a linker setting too.
I found this but it doesn't seem to work for me, or is there something I may forget by using this code, beacause the compiler tells me that property
is undefined?