Set app to require elevation?

 ̄綄美尐妖づ 提交于 2019-11-28 13:57:25

When I couldn't find application manifest as a new item that could be added to my project, I went into the online help and found this:

configure the VS2008 in Configuration Properties - Linker - Manifest File - UAC Execution Level (requireAdministrator)

That did the trick.

In VS2008: Add new item; application manifest file (app.manifest; the comments in the template file tell you how to demand more access).

You can now specify the manifest in project properties on the Application tab (but you need to uncheck "Enable the Visual Studio hosting process" to debug it).

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!