Click here to Skip to main content
12,750,710 members (36,553 online)
Rate this:
Please Sign up or sign in to vote.
See more: C++ Win32

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:, time stamp: 0x4eabedf6
Faulting module name: Client.exe, version:, 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....

Posted 6-Nov-11 23:40pm
Updated 6-Nov-11 23:50pm
Rate this: bad
Please Sign up or sign in to vote.

Solution 1

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.
Rate this: bad
Please Sign up or sign in to vote.

Solution 2

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.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

    Print Answers RSS
Top Experts
Last 24hrsThis month

Advertise | Privacy | Mobile
Web02 | 2.8.170215.1 | Last Updated 7 Nov 2011
Copyright © CodeProject, 1999-2017
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100