My program is designed to run on Windows platform.
Sometimes it terminates with error. I could not debug it on each computer where it is installed; so I added vectored exception handler to it which sends some information about exception to server. There were some 0xC0000005
exceptions; I fixed it, but program still terminates (I could not reproduce error on my PC).
I wrote another program, which waits on main process handle, and sends report with process exit code when main process terminates. I looked at exit codes, and most of them were 0x40010004
(DBG_TERMINATE_PROCESS
). I know that this exit code appears when debugger is attached to an application and then terminates it; but I am sure that there is no debugger.
So... In which other cases can process be terminated with DBG_TERMINATE_PROCESS
exit code?