将弹出一个"UAC"对话框.我的程序运行时出现对话框.
问题描述:
大家好
我有一个程序.它将连接互联网.
I have a program. It will connect internet .
总是弹出一个"UAC",我的程序运行时出现对话框.
There always pop-up a "UAC" dialog when my program run.
提示"统一身份的程序希望与您的竞争者联系"
现在,我想在程序运行时删除此对话框
now ,I want remove this dialog when my program run
我该怎么办?
我的程序是由VC6构建的,并且必须在其他Operate系统中可以正常工作.
my program is build by VC6, and it must be work well in other Operate System.
请帮助我.
谢谢.
答
我不确定,但是听起来您的程序可能被(误)检测为安装程序.如果发生了这种情况,您可以通过将应用程序清单嵌入到应用程序exe中来解决此问题.您可以尝试查看用于Vista的清单文件"线程.您所需的requestedExecutionLevel(假设您不是有意或无意地执行管理工作)将为"asInvoker".
I'm not sure, but it sounds like your program might be being (mis)detected as an installer. If that's what's going on you can fix the issue by embedding an application manifest into your application exes. You might try looking at the 'manifest files for vista' thread. Your desired requestedExecutionLevel (assuming you're not doing adminish things, intentionally or unintentionally) would be 'asInvoker'.