Ho to set "run as administator"
-
HI all,
i want to set flag "run as administrator" of my exe by code or by file bath.
is possible?
thanks
-
You have to set the application manifest as described here:
"http://www.qtcentre.org/threads/46917-How-to-run-application-in-qt-as-administrator":http://www.qtcentre.org/threads/46917-How-to-run-application-in-qt-as-administrator -
[quote author="L.MCH" date="1411122965"]You have to set the application manifest as described here:
"http://www.qtcentre.org/threads/46917-How-to-run-application-in-qt-as-administrator":http://www.qtcentre.org/threads/46917-How-to-run-application-in-qt-as-administrator[/quote]Hi L.MCH
sorry but doesn/t work
i have written in visual studio under property and UAC execution level=requireAdministrator and UAC bypass UI protection =true but my program doesn't start.
if i flag "run as administrator" starts