应用程序在调试模式下工作但在Release中不工作 [英] Application works in Debug mode but not in Release

查看:111
本文介绍了应用程序在调试模式下工作但在Release中不工作的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用Visual Studio 2010 64位编译器编译应用程序。它编译没有错误。应用程序的调试版本运行正常。然而,Release版本在启动时崩溃,出现以下2个错误:



错误的应用程序名称:Router.exe,版本:1.0.0.1,时间戳:0x536ba26e

错误模块名称:mfc100.dll,版本:10.0.40219.325,时间戳:0x4df2cfda

异常代码:0xc0000005



错误应用程序名称:Router.exe,版本:1.0.0.1,时间戳:0x536ba26e

错误模块名称:ntdll.dll,版本:6.1.7601.18247,时间戳:0x521eaf24

异常代码:0xc0150010



我已经检查了项目属性,并确保它们与Debug和Release相同。请帮忙。

I am compiling an application using Visual Studio 2010 64 bit compiler. It compiles without errors. The Debug version of the application runs fine. However the Release version crashes on start-up with the following 2 errors:

Faulting application name: Router.exe, version: 1.0.0.1, time stamp: 0x536ba26e
Faulting module name: mfc100.dll, version: 10.0.40219.325, time stamp: 0x4df2cfda
Exception code: 0xc0000005

Faulting application name: Router.exe, version: 1.0.0.1, time stamp: 0x536ba26e
Faulting module name: ntdll.dll, version: 6.1.7601.18247, time stamp: 0x521eaf24
Exception code: 0xc0150010

I already checked the project properties and made sure they are the same for Debug and Release. Please, help.

推荐答案

强制性参考:新人的幸存版本文章 [ ^ ]。


这篇关于应用程序在调试模式下工作但在Release中不工作的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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