无法在WIndows7上以标准用户身份启动Windows应用程序? [英] Unable to launch my windows applcation as standard user on WIndows7?

查看:181
本文介绍了无法在WIndows7上以标准用户身份启动Windows应用程序?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

无法以Windows Indows7上的标准用户身份启动Windows应用程序?

我们的应用程序是使用VB.Net编写的,并使用C ++ com组件.

如果以Windows 7上的管理员身份登录,我能够成功运行该应用程序.我知道这与权限相关...但是如何找到要查找的内容?我的意思是它正在尝试访问哪些DLL ...我试图调试代码,但它甚至没有命中page_load方法...并且它在事件查看器中记录了以下错误消息?有人可以帮我吗?

Unable to launch my windows applcation as standard user on WIndows7?

Our application was written using VB.Net and uses C++ com component.

I am able to run the applicaion successfully if login as Administrator on windows 7. I know it is something related to permissions... But how i can found out what it is looking for? I mean what DLLs it is trying to access... I tried to debug the code but it doesn''t even hit the page_load method... and it is logging the below error message in the Event Viewer? Can someone help me on this?

Faulting application name: Ravi.exe, version: 32.0.5009.17163, time stamp: 0x5239b96e
Faulting module name: main.DLL, version: 0.0.0.0, time stamp: 0x5239be81
Exception code: 0xc0000417
Fault offset: 0x0003dca4
Faulting process id: 0xabc
Faulting application start time: 0x01ceb54a50563a12
Faulting application path: C:\\Ravindranath\FutureReviewIssue\Pcomm\Ravi.exe
Faulting module path: C:\\Ravindranath\FutureReviewIssue\Pcomm\main.DLL
Report Id: 902e212d-213d-11e3-b036-78acc0c3e4c4


main.DLL是C ++ COM组件.....应用程序将尝试在运行时访问此文件...


main.DLL is the C++ COM component.....Application will try to access this at run time...

推荐答案

这是我的解决方案.我可能是错的,但请尝试一下:
转到项目设置.转到链接器->清单文件.
将UAC执行级别设置为"requireAdministrator".
Here is my solution. I might be wrong but give it a try:
Go to the project settings. Go to Linker -> Manifest File.
Set UAC Execution Level to "requireAdministrator".


这篇关于无法在WIndows7上以标准用户身份启动Windows应用程序?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆