应用程序发生异常0xc0000095_0xc0000142

应用程序发生异常0xc0000095_0xc0000142Hi,Imadeanexewhichisforsystemtray,thisexetogetsystemeventnotificationas(logoff&Shutdown)..itsworkingfinefor1-2hoursbutafterthatthisexeisgoingtocrashIamunable…

大家好,又见面了,我是你们的朋友全栈君。如果您正在找激活码,请点击查看最新教程,关注关注公众号 “全栈程序员社区” 获取激活教程,可能之前旧版本教程已经失效.最新Idea2022.1教程亲测有效,一键激活。

Jetbrains全系列IDE稳定放心使用

应用程序发生异常0xc0000095_0xc0000142

Hi,

I made an exe which is for system tray, this exe to get system event notification as (log off & Shut down)..its working fine for 1-2 hours but after that this exe is going to crash I am unable to get from where that problem is coming when I am seeing in Application log this error showing

Faulting application name: Client.exe, version: 1.0.0.1, time stamp: 0x4eabedf6

Faulting module name: Client.exe, version: 1.0.0.1, time stamp: 0x4eabedf6

Exception code: 0xc0000005

Fault offset: 0x0001d5ce

Faulting process id: 0x898

Faulting application start time: 0x01cc99f249ae325d

Faulting application path: C:\Windows\System32\Client.exe

Faulting module path: C:\Windows\System32\Client.exe

Report Id: 06896f3e-05ec-11e1-a23a-7071bca3c6d8

please tell me….

Thanks

解决方案Well the only thing we can tell you is that you have a memory access exception somewhere in your code. Round about offset 0x0001d5ce, although that may not be where the bug is. You need to do some work analysing your code, running it through the debugger, and adding some trace data, in order to find out where it is happening.

If possible, run in debug mode with the debugger attached.

Otherwise, the line Fault offset: 0x0001d5ce gives you the location in the raw assembly. I cannot think of a way which is easy to explain, unless you are familiar with reverse engineering.

Another possibility is to add a crash handler. See MSDN[^].

If no one else can suggest a better solution let me know and I can give more help with finding the cause.

版权声明:本文内容由互联网用户自发贡献,该文观点仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请联系我们举报,一经查实,本站将立刻删除。

发布者:全栈程序员-站长,转载请注明出处:https://javaforall.net/188054.html原文链接:https://javaforall.net

(0)
全栈程序员-站长的头像全栈程序员-站长


相关推荐

  • pycharm双击打不开_pycharm社区版双击没反应

    pycharm双击打不开_pycharm社区版双击没反应方法一:出现这个问题应该是想永久使用pycharm然后修改了pycharm的Help”->“EditCustomVMOptions文件,导致打不开pycharm,无论怎么下载重新下载还是打不开,原因就是我们所修改的文件,在最后一行添加路径的时候出现了错误。打开C盘用户名下的文件夹,按图中步骤找到pycharm,打开.vmoptions文件,删除最下面这一行自己添加的语句,。然后重启pycharm就可以了。方法二:我们可以在Windows10系统的开始菜单上,单击

    2022年8月27日
    5
  • javascript闭包经典面试题

    javascript闭包经典面试题functionfun(n,o){  console.log(o)  return{    fun:function(m){      returnfun(m,n);    }  };}vara=fun(0); a.fun(1); a.fun(2); a.fun(3);var

    2022年9月25日
    3
  • 在c#项目中用NPOI导出excel

    在c#项目中用NPOI导出excel用NPOI导出excel(加载的是已有的excel模板,当然也可以创建空的excel)具体步骤:1、下载NPOI插件。地址:http://npoi.codeplex.com/releases/view/381132、在工程中添加引用。3、在需要用到NPOI的地方using4、下面就可以在代码中进行操作了。若行或者单元格中没有数据时,那么获取到的结果是null,必须在获取之前进行创建。5、最后必须…

    2022年6月17日
    222
  • vc编程小经验

    vc编程小经验1、基于对话框程序中取消按ESC或ENTER键退出程序在PreTranslateMessage(MSG*pMsg){ if(pMsg->message>=WM_KEYFIRST&&pMsg->message{ if(VK_ESCAPE==pMsg->wParam||VK_RETURN==pMsg->wParam) { returnFALSE; }}returnCDialog:PreTr

    2022年6月14日
    27
  • css+div网页设计(一)–基础知识

    css+div网页设计(一)–基础知识

    2021年12月10日
    52
  • win10环境下使用npm安装yarn

    win10环境下使用npm安装yarnnpm的bin地址进入cmd:npm-gbinyarn安装命令:npmi-gyarnnpmi-gyarnyarn安装路径,并且配置到用户变量中,然后重启电脑(不一定)、yarnglobalbin…

    2022年10月19日
    2

发表回复

您的邮箱地址不会被公开。 必填项已用 * 标注

关注全栈程序员社区公众号