没有UAC提示的MFC应用程序实用程序

编程入门 行业动态 更新时间:2024-10-20 03:42:26
本文介绍了没有UAC提示的MFC应用程序实用程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

我手边有一个MFC应用程序实用程序。当我以标准用户身份登录域计算机时,尝试运行该实用程序,但它始终要求提升为"管理员用户"。运行或继续。如何在没有任何UAC提示的情况下为标准用户构建MFC应用软件?

我是否需要付费或发送给Microsoft才能获得认证?

对所有回复都赞不绝口。

解决方案

I手头有一个MFC应用程序实用程序。当我以标准用户身份登录域计算机时,尝试运行该实用程序,但它始终要求提升为"管理员用户"。运行或继续。如何在没有任何UAC提示的情况下为标准用户构建MFC应用软件?

确保使用指定"asInvoker"的清单构建MFC应用程序。对于UAC级别。请参阅 https:/ /docs.microsoft/en-us/cpp/build/reference/manifestuac-embeds-uac-information-in-manifest

I have a MFC application utility on hand. When I log in as a standard user to a domain computer, try to run the utility but it always asks to elevate to "administrator user" to run or continue. How can I build an MFC application software for standard users to use without any UAC prompting?

Do I have to pay or send it to Microsoft to be certified?

Appriciate in adavance for all the replies.

解决方案

I have a MFC application utility on hand. When I log in as a standard user to a domain computer, try to run the utility but it always asks to elevate to "administrator user" to run or continue. How can I build an MFC application software for standard users to use without any UAC prompting?

Ensure that the MFC application is built with a manifest that specifies "asInvoker" for the UAC level. See docs.microsoft/en-us/cpp/build/reference/manifestuac-embeds-uac-information-in-manifest

更多推荐

没有UAC提示的MFC应用程序实用程序

本文发布于:2023-11-08 20:30:01,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1570377.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:应用程序   实用程序   提示   UAC   MFC

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!