vc ++应用程序在启动时要求管理员身份验证 [英] The vc++ application asks for administrator authentication on launch
问题描述
我已经在网上搜索了很好的解决方案来解决此问题.但是没有成功.所以这是我的问题.
我有4个VC ++应用程序,正在Windows Server 2008上进行测试.这些应用程序是在VC ++ 6.0中开发的.所有应用程序都可以正常运行,但其中一个会挑战管理权限!.
Initinstance中所有4个应用程序中的代码都是相同的.绝对没有任何区别.当我检查它何时运行时,会在输入initinstance之前引发该错误.我不知道为什么只有一个应用程序正在执行此操作.
任何建议都非常可取.
Hi ,
I have searched good for a solution online for this problem. But did not succeed. So here I am with my problem.
I have 4 VC++ applications which I am testing on Windows server 2008. The applications are developed in VC++ 6.0. All the applications run fine except for one which challenges for the administrative rights!!.
The code in Initinstance for all the 4 applications are same. There is absolutely no difference at all. When I check when it runs, the error is thrown before initinstance is entered. I have no clue why only one of the applications is doing this.
Any suggestions really appreciable.
推荐答案
本人已解决问题.试图对应用程序使用清单,并且有效.问题在于应用程序本身的名称,其中包含单词"Setup".另一个可能的解决方案是重命名该应用程序! :-)
Solved the problem myself. Tried to use manifest for the application and that worked . The problem was with the name of the application itself which had the word ''Setup'' in it. Another possible solution is to rename the application! :-)
这篇关于vc ++应用程序在启动时要求管理员身份验证的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!