解决VC 类向导添加变量后莫名其妙出现 Unhandled exception in xxx.exe:0xC0000005:Access Violation错误的问题
2012-10-14 02:37
603 查看
如果通过VC 类向导添加变量后debug版本编译通过,但不能运行,而go【F5】后出现 Unhandled exception in xxx.exe:0xC0000005:Access Violation错误提示,则通过以下步骤一般都能解决。
1. 检查 xxx.cpp 里有是否已经包含 #include "stdafx.h"
2. 执行【build】—>clean
3. 删除以下四个文件
xxx.ncb文件 (支持ClassView )
xxx.aps文件 (支持ResourceView)
xxx.opt文件 (保存工作空间的配置,删除此文件后,xxx的工作空间配置将恢复到默认的设置)
xxx.clw文件 (支持ClassWizard)
4. 重新编译
1. 检查 xxx.cpp 里有是否已经包含 #include "stdafx.h"
2. 执行【build】—>clean
3. 删除以下四个文件
xxx.ncb文件 (支持ClassView )
xxx.aps文件 (支持ResourceView)
xxx.opt文件 (保存工作空间的配置,删除此文件后,xxx的工作空间配置将恢复到默认的设置)
xxx.clw文件 (支持ClassWizard)
4. 重新编译
相关文章推荐
- MFC 类向导添加变量出错 Unhandled exception in snmp.exe:0xC0000005:Access Violation
- "Unhandled exception in app.exe (QtGuid4.dll): 0xC0000005: Access Violation"错误解决
- 遇到"Unhandled exception in app.exe (QTGUID4.DLL): 0xC0000005: Access Violation"错误的解决过程
- unhandled exception in .exe :0xC0000005:Access Violation.
- unhandled exception in XXX:0xC0000005:access violation问题
- 奇怪的 unhandled exception in 0xc0000005 *.exe:、错误
- 奇怪的 unhandled exception in 0xc0000005 *.exe: access violation 错误
- 对话框导入图片 出现unhandled exception in xxxexe 0xC0000005:Access Violation 错误
- OpenCV错误:Unhandled exception at 0x0133bc63 ....0xC0000005: Access violation reading location 0x00000004.
- 生成成功,调试时出现错误导致中断Unhandled exception at 0x41cd7fb0 in webcam.exe: 0xC0000005: Access violatio
- Unhandled exception at 0x008f9b82 in .exe: 0xC0000005: Access violation reading location 0x00000298.
- Unhandled exception at 0x........ in XXXX.exe: 0xC0000005:Access violation reading location 0x......
- Solve Error: Unhandled exception at 0x00905a4d in xxx.exe: 0xC0000005: Access violation.
- Unhandled exception at 0x........ in XXXX.exe: 0xC0000005:Access violation reading location 0x......
- unhandled exception in *.exe (MFC42D.DLL):0xC0000005:Access Violation
- MFC调试出错:Unhandled exception in aa.exe:0xC0000005:Access Violation
- Unhandled exception at 0x00000000 in CallDll.exe: 0xC0000005: Access violation reading location 0x00
- 智能安全实验室-全能优化(Guardio)错误解决(1):“出现异常:EXCEPTION_ACCESS_VIOLATION=Access Violation”
- Unhandled exception in xxxx.exe (MFC42D.DLL):0xC0000005: Access Violation
- Unhandled exception at 0x........ in XXXX.exe: 0xC0000005:错误