【技术贴】MFC出错Debug Assertion Failed! File:afx.inl 122

简介: 本文解决两个VC里面最诡异的问题。 1.Debug Assertion Failed! File:afx.inl ? 2.VC++ 如何生成release版?   答: 1.有两种解决方案     a。

本文解决两个VC里面最诡异的问题。

1.Debug Assertion Failed! File:afx.inl ?

2.VC++ 如何生成release版?

 

答:

1.有两种解决方案

    a。删除debug 文件夹, 重新编译。

    b。生成release版

2.右键点击菜单空白处——选择“组建”——第二个框框里面选择“Win32 Release“——然后和平时一样在这个框框里点击编译,运行。

img_29e8bb353b959313b3baaa8053be1a16.jpg

 

至于那些刨根问底的童鞋,给出两个牛人的帖子,自己琢磨一下

1.http://hi.baidu.com/%C6%C6%C0%C3%D0%DC/blog/item/598a4380410d29d1bc3e1e23.html

2.http://jiaozhenjiesong.blog.163.com/blog/static/21938154201112511329329/

 

目录
相关文章
|
10月前
|
C++
VS code debug c代码 配置
VS code debug c代码 配置
89 0
|
小程序
uniapp小程序扫描条形码call failed:, {errMsg: “scanCode:fail“}解决方法
uniapp小程序扫描条形码call failed:, {errMsg: “scanCode:fail“}解决方法
239 0
解决:Oops internal error 40343 occured.Further work is not possible and IDA will close (打开文件出现40343错误)
解决:Oops internal error 40343 occured.Further work is not possible and IDA will close (打开文件出现40343错误)
438 0
|
C语言 C++
C语言程序入门——新手错误大全,常见的错误,总有一个适合你(一)易错点:main报错,error: ld returned 1 exit status报错,scanf与printf报错······
很多人在运行程序时,看到提示“error: ld returned 1 exit status”不知所措,自己代码没有任何问题,就是运行不起来,这是因为,自己上一个程序仍在运行,还未关闭,只要将上一个程序关掉,一切就迎刃而解了。常见的,如很多人喜欢装的杀毒软件,360,安全管家什么的,当你运行时,程序可能会被检测为高危程序,惨被清除,导致程序什么也没显示。正常情况下,无需杀毒软件,只要正常使用互联网,保证自己纯净上网后,杀毒软件就像累赘,可有可无。解决方法:输入时的格式必须与scanf里的格式一模一样。..
C语言程序入门——新手错误大全,常见的错误,总有一个适合你(一)易错点:main报错,error: ld returned 1 exit status报错,scanf与printf报错······
关于 编译软件时报错“xdo.c:29:34: fatal error: X11/extensions/XTest.h:”错误 的解决方法
关于 编译软件时报错“xdo.c:29:34: fatal error: X11/extensions/XTest.h:”错误 的解决方法
关于 编译软件时报错“xdo.c:29:34: fatal error: X11/extensions/XTest.h:”错误 的解决方法
【BUG日记】【Idea】运行项目时,报错 Process finished with exit code -1073741819 (0xC0000005)
突然想到之前发现的一个bug情况,就顺带写一下 Idea运行项目时,报错 Process finished with exit code -1073741819 (0xC0000005)
558 0
【BUG日记】【Idea】运行项目时,报错 Process finished with exit code -1073741819 (0xC0000005)
解决:Oops! internal error 40343 occured.Further work is not possible and IDA will close(打开文件出现40343错误)
解决:Oops! internal error 40343 occured.Further work is not possible and IDA will close(打开文件出现40343错误)
698 0
解决:Oops! internal error 40343 occured.Further work is not possible and IDA will close(打开文件出现40343错误)
|
Java 应用服务中间件
MyEclipse java开发报“Could not create the view: An unexpected exception was thrown.”错误原因
MyEclipse java开发报“Could not create the view: An unexpected exception was thrown.”错误原因
|
iOS开发
iOS linker command failed with exit code 1 (use -v to see invocation)解决方法
iOS linker command failed with exit code 1 (use -v to see invocation)解决方法
2476 0
|
API 图形学 测试技术
Unity 之 Assertion(断言)另一种 Debug
在日常开发中,我们会经常使用Debug或对应的封装输出日志,在Unity Debug输出到屏幕并保存到本地笔者也曾有过介绍,今天笔者和大家聊聊另一种Debug输出 --- 【断言】,,笔者所介绍的断言库早在unity5.1版本中就已经出现。
1471 0