<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" media="screen" href="/styles/xslt/rss.xslt"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:media="http://search.yahoo.com/mrss/" xmlns:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd" xmlns:c9="http://channel9.msdn.com">
<channel>
	<title>Comment Feed for Channel 9 - Application Restart and Recovery on Windows 7 in Native Code</title>
	<atom:link rel="self" type="application/rss+xml" href="http://channel9.msdn.com/posts/Application-Restart-and-Recovery-on-Windows-7-in-Native-Code/rss"></atom:link>
	<image>
		<url>http://ak.channel9.msdn.com/ch9/9D36/9E8B0601-E220-460A-8D5E-9E6F002F9D36/ApplicationRestartAndRecoveryOnWindows7InNativeCode_100_ch9.jpg</url>
		<title>Channel 9 - Application Restart and Recovery on Windows 7 in Native Code</title>
		<link></link>
	</image>
	<description> Application Recovery and Restart&amp;nbsp;(ARR) technologies enable developers to customize an application&#39;s behavior when&amp;nbsp;Windows Error Reporting&amp;nbsp;(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,&amp;nbsp;Kate Gregory&amp;nbsp;(@gregcons) provides an overview of ARR on Windows 7.&amp;nbsp;Kate also demonstrates how to integrate ARR&amp;nbsp;into your native applications via Win32. Update (March 22, 2011 - 5:40 PM): The Windows Restart and Recovery Recipe is now available to download. </description>
	<link></link>
	<language>en</language>
	<pubDate>Tue, 21 May 2013 16:16:58 GMT</pubDate>
	<lastBuildDate>Tue, 21 May 2013 16:16:58 GMT</lastBuildDate>
	<generator>Rev9</generator>
	<item>
		<title>Re: Application Restart and Recovery on Windows 7 in Native Code</title>
		<description>
			<![CDATA[Um doing it in MFC shouldnt count as native code... But good stuff none the less. More C&#43;&#43; stuff please<p>posted by Mr Crash</p>]]>
		</description>
		<link>http://channel9.msdn.com/posts/Application-Restart-and-Recovery-on-Windows-7-in-Native-Code#c634359354960000000</link>
		<pubDate>Thu, 17 Mar 2011 05:11:36 GMT</pubDate>
		<guid isPermaLink="true">http://channel9.msdn.com/posts/Application-Restart-and-Recovery-on-Windows-7-in-Native-Code#c634359354960000000</guid>
		<dc:creator>Mr Crash</dc:creator>
	</item>
	<item>
		<title>Re: Application Restart and Recovery on Windows 7 in Native Code</title>
		<description>
			<![CDATA[ <p>I labelled this screencast as native code for&nbsp;developers who draw a comparison to managed code (i.e. CLR). And, don't worry: more C&#43;&#43; stuff is on the way! Let me know if there's anything in particular that you'd like to see!</p><p>posted by jbristowe</p>]]>
		</description>
		<link>http://channel9.msdn.com/posts/Application-Restart-and-Recovery-on-Windows-7-in-Native-Code#c634359858280000000</link>
		<pubDate>Thu, 17 Mar 2011 19:10:28 GMT</pubDate>
		<guid isPermaLink="true">http://channel9.msdn.com/posts/Application-Restart-and-Recovery-on-Windows-7-in-Native-Code#c634359858280000000</guid>
		<dc:creator>jbristowe</dc:creator>
	</item>
	<item>
		<title>Re: Application Restart and Recovery on Windows 7 in Native Code</title>
		<description>
			<![CDATA[ <p>Surprised this was not up on the Channel9 Zune podcasts.&nbsp; Good work Kate.</p><p>posted by jfoegen</p>]]>
		</description>
		<link>http://channel9.msdn.com/posts/Application-Restart-and-Recovery-on-Windows-7-in-Native-Code#c634363356280000000</link>
		<pubDate>Mon, 21 Mar 2011 20:20:28 GMT</pubDate>
		<guid isPermaLink="true">http://channel9.msdn.com/posts/Application-Restart-and-Recovery-on-Windows-7-in-Native-Code#c634363356280000000</guid>
		<dc:creator>jfoegen</dc:creator>
	</item>
	<item>
		<title>Re: Application Restart and Recovery on Windows 7 in Native Code</title>
		<description>
			<![CDATA[ <p><blockquote><div class="quoteText"></p><p><a class="permalink" title="Comment Permalink" href="/posts/Application-Restart-and-Recovery-on-Windows-7-in-Native-Code#c634363356280000000">20 hours&nbsp;ago</a>, <a href="/Niners/jfoegen">jfoegen</a> wrote</p><p>Surprised this was not up on the Channel9 Zune podcasts.&nbsp; Good work Kate.</p><p></div></blockquote></p><p>Now it is <img src='http://ecn.channel9.msdn.com/o9/content/images/emoticons/emotion-1.gif?v=c9' alt='Smiley' /><br><br><strong>John</strong>, please let me know when you are going to post content created by Kate and I will ensure it shows up in our main feed. Go Kate. Go!</p><p>C</p><p>posted by Charles</p>]]>
		</description>
		<link>http://channel9.msdn.com/posts/Application-Restart-and-Recovery-on-Windows-7-in-Native-Code#c634364084740000000</link>
		<pubDate>Tue, 22 Mar 2011 16:34:34 GMT</pubDate>
		<guid isPermaLink="true">http://channel9.msdn.com/posts/Application-Restart-and-Recovery-on-Windows-7-in-Native-Code#c634364084740000000</guid>
		<dc:creator>Charles</dc:creator>
	</item>
	<item>
		<title>Re: Application Restart and Recovery on Windows 7 in Native Code</title>
		<description>
			<![CDATA[ <p>@<a href="/posts/Application-Restart-and-Recovery-on-Windows-7-in-Native-Code#c634364084740000000">Charles</a>: Will do. We have one more in the hopper.</p><p>posted by jbristowe</p>]]>
		</description>
		<link>http://channel9.msdn.com/posts/Application-Restart-and-Recovery-on-Windows-7-in-Native-Code#c634364346580000000</link>
		<pubDate>Tue, 22 Mar 2011 23:50:58 GMT</pubDate>
		<guid isPermaLink="true">http://channel9.msdn.com/posts/Application-Restart-and-Recovery-on-Windows-7-in-Native-Code#c634364346580000000</guid>
		<dc:creator>jbristowe</dc:creator>
	</item>
	<item>
		<title>Re: Application Restart and Recovery on Windows 7 in Native Code</title>
		<description>
			<![CDATA[ <p><blockquote><div class="quoteText"></p><p><a class="permalink" title="Comment Permalink" href="/posts/Application-Restart-and-Recovery-on-Windows-7-in-Native-Code#c634359354960000000">6 days&nbsp;ago</a>, <a href="/Niners/Mr%20Crash">Mr&nbsp;Crash</a> wrote</p><p>Um doing it in MFC shouldnt count as native code... </div></blockquote></p><p>But why ? <img src='http://ecn.channel9.msdn.com/o9/content/images/emoticons/emotion-3.gif?v=c9' alt='Scared' /></p><p>posted by felix9</p>]]>
		</description>
		<link>http://channel9.msdn.com/posts/Application-Restart-and-Recovery-on-Windows-7-in-Native-Code#c634364769710000000</link>
		<pubDate>Wed, 23 Mar 2011 11:36:11 GMT</pubDate>
		<guid isPermaLink="true">http://channel9.msdn.com/posts/Application-Restart-and-Recovery-on-Windows-7-in-Native-Code#c634364769710000000</guid>
		<dc:creator>felix9</dc:creator>
	</item>
	<item>
		<title>Re: Application Restart and Recovery on Windows 7 in Native Code</title>
		<description>
			<![CDATA[Clearly this is native, since you should be able to use the code in NativeAndRestartRecovery.h even for non-MFC C&#43;&#43; applications &#40;not tested&#41;.<br>But I am not too happy, because the recipe is full of memory leaks.<br>In NativeTestDlg.cpp there is a memory leak on line 66 &#40;the memory pointed to by former doc is lost&#41;.<br>In NativeTestDlg.cpp there is a memory leak on line 70 &#40;the memory pointed to by rrh lost&#41;.<br>CNativeTestHarnessDlg has no destructor, so the memory pointed to by doc leaks.<br>NativeAndRestartRecovery.h there is a potential memory leak on line 66 if the supplied &#39;T&#58;&#58;operator &#62;&#62;&#39; throws.<br>If you dont want to handle it, use RAII &#40;in these cases unique_ptr or shared_ptr or even auto_ptr, since the code was written a year ago&#41;.<br><br>Another problem I see is that the recovery may fail due to dead lock&#47;races as your program is in an undefined state and you launch a new thread&#59; what if the program crashes in HeapAlloc due to Heap corruption or your gui is not responding but some thread is updating the recovery document structure. <br>These problems seem not to be handled by this &#39;recipe&#39;, but I dont know what magic Windows does under the covers. Another issue are Blue Screens or power failures. So it would be still appropiate to save application state as the application is in a known state.<br><br>But I might have missed the point of this cast.<br><br>Daniel<p>posted by Lunow</p>]]>
		</description>
		<link>http://channel9.msdn.com/posts/Application-Restart-and-Recovery-on-Windows-7-in-Native-Code#c634392003000000000</link>
		<pubDate>Sun, 24 Apr 2011 00:05:00 GMT</pubDate>
		<guid isPermaLink="true">http://channel9.msdn.com/posts/Application-Restart-and-Recovery-on-Windows-7-in-Native-Code#c634392003000000000</guid>
		<dc:creator>Lunow</dc:creator>
	</item>
	<item>
		<title>Re: Application Restart and Recovery on Windows 7 in Native Code</title>
		<description>
			<![CDATA[Has anyone tried to build the sample NativeTestHarness in Visual Studio 2010&#63;  I built the sample, but, it will not crash.  I&#39;ve entered data and clicked the &#34;Crash&#34; button, but, the app stays alive.<br>Any idea whats goig on here&#63;<p>posted by Mike Harnad</p>]]>
		</description>
		<link>http://channel9.msdn.com/posts/Application-Restart-and-Recovery-on-Windows-7-in-Native-Code#c634447917270000000</link>
		<pubDate>Mon, 27 Jun 2011 17:15:27 GMT</pubDate>
		<guid isPermaLink="true">http://channel9.msdn.com/posts/Application-Restart-and-Recovery-on-Windows-7-in-Native-Code#c634447917270000000</guid>
		<dc:creator>Mike Harnad</dc:creator>
	</item>
</channel>
</rss>