c++ - 此应用程序已请求运行时以一种不寻常的方式终止它 QT C++

标签 c++ dll

我正在用 QT C++ 开发一个 Fifteen Puzzle Game。游戏有时运行良好,有时在运行过程中崩溃。我不知道问题所在。我查看了不同的论坛并找到了不同的建议。有人说这个错误是由于缺少 dll 等造成的。

下面出现错误的窗口

Microsoft Visual C++ Runtime Library
This application has requested the runtime to terminate it in an unusual way.
Please contact the application's support team for more information. 

最佳答案

我解决了这个问题:实际上我正在访问一个不可用的 vector 位置。 assert() 帮助我排除故障。谢谢@DNT

关于c++ - 此应用程序已请求运行时以一种不寻常的方式终止它 QT C++,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/21664159/

相关文章:

c++ - 由于 cout,GCC 4.8.2 自动矢量化失败

c++ - 如何从 std::filesystem::path 中删除引号

c++ - 在哪里可以找到用于减小 MSVC++/Windows 上的二进制文件大小的分析器?

c++ - 如何乘以 2 个大数?

delphi - 为什么编译器无法加载库名dbexpint.dll?

c# - 通过在 C# GUI 中按下按钮调用 C++ DLL

c++ - 显示 C :\Windows\System32\config using C++ 的内容

c++ - 在 Visual Studio 中使用 .def 而不是带有全局变量的 dllimport/dllexport

c++ - 如何从注入(inject)到同一程序的另一个 .dll 调用函数?

opengl - 如何解决OpenGL程序的 `glew32.dll is missing from your computer`问题?