Application Restart and Recovery on Windows 7 in Native Code
Application Recovery and Restart (ARR) technologies enable developers to customize an application's behavior when Windows Error Reporting (WER) terminates the application due to an unrecoverable error. For example, it enables an application to perform data recovery and cleanup operations such as capturing application state and releasing resources before termination. It also allows developers to specify that WER should automatically restart an application that it has terminated.
Update (March 22, 2011 - 5:40 PM): The Windows Restart and Recovery Recipe is now available to download.