使用其他用户帐户执行程序.

编程入门 行业动态 更新时间:2024-10-28 19:23:59
本文介绍了使用其他用户帐户执行程序.的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

大家好, 我正在尝试使用其他登录用户帐户运行应用程序.为此,我使用功能CreateProcessWithLogonW().但是我无法达到要求.任何帮助表示赞赏.在此先感谢您.

Hi All, I am trying to run an application under a different logon user account. For this I am using the the function CreateProcessWithLogonW(). But I am not able to achieve the requirement. Any help is appreciated. Thanks in advance.

推荐答案

我能做的最好的事情就是提供指向MSDN文档的链接,因为您的问题没有提供足够的信息来提供任何类似的信息.更准确的答案.而不是发布代码,请转到此链接并彻底阅读信息.它只是表明您可能在做错什么. msdn.microsoft/en-us/library/ms682431 (v = vs.85).aspx [ ^ ] The best I can do is provide a link to the MSDN documentation because your question isn''t providing enough information to provide any semblence of a more accurate answer. Instead of posting code, go to this link and READ THE INFORMATION THOROUGHLY. It just indicate might what you''re doing wrong. msdn.microsoft/en-us/library/ms682431(v=vs.85).aspx[^]

除了John的MSDN链接外,这是一篇关于该主题的相当全面的文章,位于Code Project上. : 基于GUI的RunAsEx [ ^ ] In addition to John''s MSDN links, here''s a fairly comprehensive article article on this topic here on Code Project: GUI-Based RunAsEx[^]

更多推荐

使用其他用户帐户执行程序.

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

发布评论

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

>www.elefans.com

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