How do I preset the output exe wit开发者_JAVA百科h the highest privilege checked? I am having issues for the application running on Windows 7 or Windows 2008, if the user did not select Run As Administrator, the application crashed.
Is there a way to preset the privilege?
Regards
PlayKid
The recommended approach is to add a manifest which requests Administrator privileges: http://msdn.microsoft.com/en-us/library/bb756929.aspx
精彩评论