使用 QTObjectModelLib.dll 时出现 UnauthorizedAccessException
我遵循 SO回答如何从C#运行QTP脚本。但是,在应用程序对象创建期间,我收到 UnauthorizedAccessException。有什么线索可能出了什么问题吗?这是异常的屏幕截图和源代码。
I follow an example from SO answer how to run QTP script from C#. However during Application object creation I get UnauthorizedAccessException. Any clues what might be wrong? Here is a screenshot of the exception and the source code.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
如果您使用的是 Windows 7 或 Vista,请尝试以管理员身份启动您的开发区域,您很可能会遇到访问冲突。
If you're on Windows 7 or Vista, have a go at starting your development area as Administrator, chances are you're getting an Access Violation.
引用您引用的原始帖子的OP:
如果您也使用 10.0 版本,可能会有所帮助。
Quoting the OP of the original post you refer to:
Might help if you are also using version 10.0.