Visual Studio错误AccessViolationException [英] Visual studio error AccessViolationException

查看:138
本文介绍了Visual Studio错误AccessViolationException的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

调用com对象时出现错误.
不知何故,当我禁用优化代码时,调试和仅运行调试版本之间似乎有所区别.

从启动时附加调试器时,它会由于AccessViolationException崩溃.
启动应用程序后附加调试器时,没有错误
刚启动应用程序就没有错误.

I get an error when calling a com object.
Somehow when i have optimize code disabled there seems to be a difference between debugging and just running the debug build.

When debugger is attached from startup it crashes with the AccessViolationException.
When debugger is attached after starting the app no error
Just starting the app No Error.

How can debugging from Visual studio 2010 make such a difference?

推荐答案

希望
Hope this[^] will give you an idea.


这篇关于Visual Studio错误AccessViolationException的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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