本文介绍了在VS2013下的marshal.cxx中的未处理异常的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

调试我的C ++应用程序我正在marshal.cxx中获得一个未处理的异常,具有以下堆栈跟踪;

Debugging my C++ app I'm getting an occasion unhandled exception in marshal.cxx with the following stack trace;

稍微令人困惑的是,因为他的主要应用线程是坐在消息泵中,而我所有的其他线程正在睡觉,而且我的任何代码都不在我附近。接下来,调试器拒绝运行我的程序,直到我退出并重新运行visual studio。

Slightly perplexed, as he main application thread is sitting in the message pump, and all my other threads are sleeping and nowhere near any of my own code. Following on from this the debugger refuses to run my program at all until I exit and re-run visual studio.

有没有办法弄清楚这是否是一个问题在我的代码中,或VS2013中的问题或我正在使用的插件(Visual Assist和Visual Commander)?

Is there any way to figure out whether this is a problem in my code, or a problem in VS2013 or one of the plug-ins I'm using (Visual Assist and Visual Commander)?

推荐答案

这里描述的类似问题:

此修补程序在这里:

希望它帮助。

The similar problem described here: http://mfctips.com/2012/10/29/cfiledialogdomodal-causes-access-violation/ The hotfix is here:https://support.microsoft.com/en-us/kb/2718841/en-us Hope it helps.

这篇关于在VS2013下的marshal.cxx中的未处理异常的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

10-22 06:35