How can a Windows application handle segmentation faults? By 'handle' I mean intercept them and perhaps output a descriptive message. Also, the ability to recover from them would be nice too, but I assume that is too complicated.
Use SEH for early exception handling, and use SetUnhandledExceptionFilter to show a descriptive message.