What is the best way to detect a process crash using C ++?
Is there a way to detect a process crash on Windows 7? Just to clarify, every time a process crashes, Windows generates WERfault.exe (Windows Error Reporting). I have a driver that monitors the system using the existing kernel callback mechanism. A callback notifies my driver when a specific process event occurs (using PsSetCreateProcessNotifyRoutine). The problem is that I can see that WERfault.exe was created by svchost.exe, but I cannot find a way to resolve which process crashed.
+3
source to share