Application Restart and Recovery on Windows 7 in Managed Code
- Posted: Mar 16, 2011 at 11:39 AM
- 32,576 Views
- 2 Comments
Download
How do I download the videos?
- To download, right click the file type you would like and pick “Save target as…” or “Save link as…”
Why should I download videos from Channel9?
- It's an easy way to save the videos you like locally.
- You can save the videos in order to watch them offline.
- If all you want is to hear the audio, you can download the MP3!
Which version should I choose?
- If you want to view the video on your PC, Xbox or Media Center, download the High Quality WMV file (this is the highest quality version we have available).
- If you'd like a lower bitrate version, to reduce the download time or cost, then choose the Medium Quality WMV file.
- If you have a Zune, WP7, iPhone, iPad, or iPod device, choose the low or medium MP4 file.
- If you just want to hear the audio of the video, choose the MP3 file.
Right click “Save as…”
- High Quality WMV (PC, Xbox, MCE)
- MP3 (Audio only)
- Mid Quality WMV (Lo-band, Mobile)
- High Quality MP4 (iPad, PC)
- MP4 (iPod, Zune HD)
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.
In this screencast, Kate Gregory (@gregcons) provides an overview of ARR on Windows 7 via the Windows API Code Pack, a source code library that can be used to access some features of Windows 7 and Windows Vista from managed code. Kate also demonstrates just how easy it is to integrate ARR into your managed applications through a few lines of C#.
Update (March 22, 2011 - 5:40 PM): The Windows Restart and Recovery Recipe is now available to download.
Comments Closed
Comments have been closed since this content was published more than 30 days ago, but if you'd like to continue the conversation,
please create a new thread in our Forums,
or
Contact Us and let us know.
Follow the Discussion
I like the tools but would strongly disagree that this replaces the need to auto-save. These handle all cases when the OS has a chance to notify the application, but what about sudden power outages or OS level crashes? I know we like to think neither of those ever happen, but they do. This may however allow a developer to be comfortable with longer auto-save intervals though since it handles many of the more frequent application termination scenarios.
What would be really nice would be a method to use this code for our auto-save also. Perhaps a function to SaveNow(), or pass in an interval to be used by a built in timer for auto-saving and then handle it internally as if an event caused a save.
Even visual studio uses auto saving. That feature is really nice thought. Too bad earlier os versions can't use it. Too many xp are still installed in companies.
Remove this comment
Remove this thread
close