是操作系统做了限制,只能看你运行的那个人给于什么权限了
"朱波" <??@discussions.microsoft.com> 写入消息
news:86CF2B42-A4C8-44E9...@microsoft.com...
> VC++ 如何实现VISTA 系统下的exe 程序以管理员身份运行呢?
The CreateProcessWithLogonW function is similar to CreateProcessAsUser,
except that the caller does not need to call the LogonUser function to
authenticate the user and get a token.
This function is also similar to the SHCreateProcessAsUserW function.
"�첨" <??@discussions.microsoft.com> д����Ϣ����:86CF2B42-A4C8-44E9...@microsoft.com...
> VC++ ���ʵ��VISTA ϵͳ�µ�exe �����Թ���Ա��������أ�