错误hw0-windows.exe中0x00000000处的第一次机会异常:0xC0000005:访问冲突执行位置0x00000000 [英] Error First-chance exception at 0x00000000 in hw0-windows.exe: 0xC0000005: Access violation executing location 0x00000000

查看:93
本文介绍了错误hw0-windows.exe中0x00000000处的第一次机会异常:0xC0000005:访问冲突执行位置0x00000000的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有这个错误



i have this error

First-chance exception at 0x00000000 in hw0-windows.exe: 0xC0000005: Access violation executing location 0x00000000.

If there is a handler for this exception, the program may be safely continued.







我怎么能修复它?????




how can i fix it ?????

推荐答案

您可以通过调用NULL指针的代理不读取或写入地址0来修复此错误在这种情况下。

为了更具体,我需要能够看到你的代码并知道导致这个错误的行。
You can fix this error by not reading from, or writing to, address 0, by the agency of calling through a NULL pointer in this case.
In order to be more specific I would need to be able to see your code and know which line or lines are causing this error.


1。获取异常的故事:

转到Debug-> Exceptions对话框,检查所有选项:







然后在异常停留处观察故事 Debug-> CallStack窗口



2.修改你所在行的故事(主要是CallStack窗口代码的顶行)



3.重建故事并再试一次:))
1. Get the "story" of the exception:
Go to Debug->Exceptions dialog an check the all options in:



then observe the "story" at the exception stop in the Debug->CallStack window

2. Modify the "story" at your line(s) (mostly the top line of your code in the CallStack window)

3. Rebuild the "story" and try again :)


这篇关于错误hw0-windows.exe中0x00000000处的第一次机会异常:0xC0000005:访问冲突执行位置0x00000000的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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