I've written an service using visual studio 2008. It works fine most of the time.
But sometimes it stops. No error Message appears and I can start it again.
The software run on about 200 PCs and crashes about 1 a day. Never the same :-)
So I can not provoke it.
I found a routine to get unhandled exceptions, but with this I can only capture about 5% of the crashes.
I did not get where the software crashes.
I addedd a debug log, but all I found is a line with "Sleep(1000);".
Does somebody know a better way to get crash information.
LONG WINAPI MyUnhandledExceptionFilter(EXCEPTION_POINTERS* ExceptionInfo)