【发布时间】:2014-05-19 20:48:13
【问题描述】:
我的应用程序 myApp.exe 正在使用 myDll.dll 。 dll以Release模式编译。 myQApp.exe 在Debug 配置模式下运行。在 myDll.dll 函数调用期间出现异常:
Windows has triggered a breakpoint in myApp.exe.
This may be due to a corruption of the heap, which indicates a bug in myApp.exe or any of the DLLs it has loaded.
This may also be due to the user pressing F12 while myApp.exe has focus.
The output window may have more diagnostic information.
当我放置使用调试配置编译的 dll 时,一切正常。我应该在代码中寻找一些错误还是调试/发布模式会影响这个异常?
【问题讨论】:
标签: visual-studio-2010 visual-c++