未处理的异常尝试读取或写入受保护的内存未处理的异常

时间:2016-02-19 17:06:10

标签: c# visual-c++ com wrapper

我在win32文件的顶部有一个c#包装器。该代码有适当的尝试捕获bloack。 但是当发生这个错误时,我只是在那里打破并且永远不会阻止阻塞?

详细错误:

An unhandled exception of type 'System.AccessViolationException' occurred in abc.dll

Additional information: Attempted to read or write protected memory. This is often an indication that other memory is corrupt.

0 个答案:

没有答案
相关问题