<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.msdn.com/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Kim Hamilton - All Comments</title><link>http://blogs.msdn.com/b/kimhamil/</link><description /><dc:language>en-US</dc:language><generator>Telligent Evolution Platform Developer Build (Build: 5.6.50428.7875)</generator><item><title>Click &amp;amp; Solve &amp;raquo;  Advanced resource debugging with Resview </title><link>http://blogs.msdn.com/b/kimhamil/archive/2009/03/06/advanced-resource-debugging-with-resview.aspx#9463329</link><pubDate>Fri, 06 Mar 2009 22:25:11 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9463329</guid><dc:creator>Click &amp;amp; Solve &amp;raquo;  Advanced resource debugging with Resview </dc:creator><description>&lt;p&gt;PingBack from &lt;a rel="nofollow" target="_new" href="http://www.clickandsolve.com/?p=19014"&gt;http://www.clickandsolve.com/?p=19014&lt;/a&gt;&lt;/p&gt;
&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9463329" width="1" height="1"&gt;</description></item><item><title>Advanced resource debugging with Resview</title><link>http://blogs.msdn.com/b/kimhamil/archive/2008/11/11/what-does-the-neutralresourceslanguageattribute-do.aspx#9463316</link><pubDate>Fri, 06 Mar 2009 22:12:51 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9463316</guid><dc:creator>Kim Hamilton</dc:creator><description>&lt;p&gt;In an earlier blog about resource fallback essentials , I said that the resource diagnostic tool resview&lt;/p&gt;
&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9463316" width="1" height="1"&gt;</description></item><item><title>Working with the ResourceManager [Kim Hamilton]</title><link>http://blogs.msdn.com/b/kimhamil/archive/2008/11/11/what-does-the-neutralresourceslanguageattribute-do.aspx#9426503</link><pubDate>Tue, 17 Feb 2009 00:30:43 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9426503</guid><dc:creator>BCL Team Blog</dc:creator><description>&lt;p&gt;The essentials of resource fallback and how to debug failures Resource loading failures can be tricky&lt;/p&gt;
&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9426503" width="1" height="1"&gt;</description></item><item><title>Cleaning up after yourself (Dispose(void) doesn&amp;#8217;t get called for you) | Tmao Coders</title><link>http://blogs.msdn.com/b/kimhamil/archive/2008/11/17/cleaning-up-after-yourself-dispose-void-doesn-t-get-called-for-you.aspx#9117112</link><pubDate>Tue, 18 Nov 2008 09:43:41 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9117112</guid><dc:creator>Cleaning up after yourself (Dispose(void) doesn&amp;#8217;t get called for you) | Tmao Coders</dc:creator><description>&lt;p&gt;PingBack from &lt;a rel="nofollow" target="_new" href="http://www.tmao.info/cleaning-up-after-yourself-disposevoid-doesnt-get-called-for-you/"&gt;http://www.tmao.info/cleaning-up-after-yourself-disposevoid-doesnt-get-called-for-you/&lt;/a&gt;&lt;/p&gt;
&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9117112" width="1" height="1"&gt;</description></item><item><title>re: When to call Dispose</title><link>http://blogs.msdn.com/b/kimhamil/archive/2008/11/05/when-to-call-dispose.aspx#9108502</link><pubDate>Mon, 17 Nov 2008 12:24:08 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9108502</guid><dc:creator>Jérémie Chassaing</dc:creator><description>&lt;p&gt;A typical ambiguous case can be found with readers and writers (StreamReader, StreamWriter, BinaryReader, BinaryWriter...).&lt;/p&gt;
&lt;p&gt;They implement IDisposable just in case the have ownership on the underlying stream, but the documentation is not clear about it.&lt;/p&gt;
&lt;p&gt;When you need to keep the stream open (to use several differents writers, or when using a memory stream), you must use Flush and not Close (= Dispose).&lt;/p&gt;
&lt;p&gt;My opinion is that you should always call Flush, and then call Dispose only if you need to get rid of the underlying stream.&lt;/p&gt;
&lt;p&gt;A bit confusing...&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9108502" width="1" height="1"&gt;</description></item><item><title>No need to throw out the baby with the streamwriter; they probably could have just put in a replacement</title><link>http://blogs.msdn.com/b/kimhamil/archive/2008/11/11/making-a-streamwriter-usable-even-after-given-garbage-characters.aspx#9066012</link><pubDate>Thu, 13 Nov 2008 15:13:16 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9066012</guid><dc:creator>Sorting it all Out</dc:creator><description>&lt;p&gt;So anyway, Kim 's other recent blog, entitled Making a StreamWriter usable even after given garbage characters&lt;/p&gt;
&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9066012" width="1" height="1"&gt;</description></item><item><title>re: When to call Dispose</title><link>http://blogs.msdn.com/b/kimhamil/archive/2008/11/05/when-to-call-dispose.aspx#9065885</link><pubDate>Thu, 13 Nov 2008 13:31:21 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9065885</guid><dc:creator>Mike Dimmick</dc:creator><description>&lt;p&gt;In WinForms, controls that are owned by another control (in that control's Controls collection, either by calling .Add or by setting the control's Parent property) are disposed automatically when that control is itself disposed. Top-level forms are disposed when the window is destroyed. This largely means that the programmer doesn't have to do anything. However, there is no Destroy method - you destroy a window by calling Dispose.&lt;/p&gt;
&lt;p&gt;In addition, any non-graphical components added to a form in Visual Studio's designer cause VS to generate code that adds them to a System.ComponentModel.Container named 'components', and an override of Dispose which disposes the container, which in turn disposes all of the contained components. This works for desktop apps but is BROKEN for smart device development (Compact Framework). I added a bug on this - Connect feedback ID 305534 - which has STILL had no reply after more than a year.&lt;/p&gt;
&lt;p&gt;On Compact Framework you don't have space for VM overflows, particularly on Windows Mobile 5.0 devices where there is often a tiny amount of VM actually available, due to the DLL loading model and vast number of eXecute In Place DLLs. Calling Dispose everywhere is absolutely required. Leaving it to Finalize is too late.&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9065885" width="1" height="1"&gt;</description></item><item><title>re: What does the NeutralResourcesLanguageAttribute do?</title><link>http://blogs.msdn.com/b/kimhamil/archive/2008/11/11/what-does-the-neutralresourceslanguageattribute-do.aspx#9061084</link><pubDate>Wed, 12 Nov 2008 04:11:04 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9061084</guid><dc:creator>MSDNArchive</dc:creator><description>&lt;p&gt;Thanks David, that's good news! Can you re-post the link though? (It links to my post.)&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9061084" width="1" height="1"&gt;</description></item><item><title>re: What does the NeutralResourcesLanguageAttribute do?</title><link>http://blogs.msdn.com/b/kimhamil/archive/2008/11/11/what-does-the-neutralresourceslanguageattribute-do.aspx#9061056</link><pubDate>Wed, 12 Nov 2008 03:50:27 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9061056</guid><dc:creator>David Kean</dc:creator><description>&lt;p&gt;We added a warning to FxCop that fires on assemblies that contain ResourceManager-managed resources, but do not have the NeutralResourcesLanguageAttribute specified. &lt;/p&gt;
&lt;p&gt;For more information, see: &lt;a rel="nofollow" target="_new" href="http://blogs.msdn.com/kimhamil/archive/2008/11/11/what-does-the-neutralresourceslanguageattribute-do.aspx"&gt;http://blogs.msdn.com/kimhamil/archive/2008/11/11/what-does-the-neutralresourceslanguageattribute-do.aspx&lt;/a&gt;&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9061056" width="1" height="1"&gt;</description></item><item><title>What does the NeutralResourcesLanguageAttribute do? | Tmao Coders</title><link>http://blogs.msdn.com/b/kimhamil/archive/2008/11/11/what-does-the-neutralresourceslanguageattribute-do.aspx#9061013</link><pubDate>Wed, 12 Nov 2008 03:11:59 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9061013</guid><dc:creator>What does the NeutralResourcesLanguageAttribute do? | Tmao Coders</dc:creator><description>&lt;p&gt;PingBack from &lt;a rel="nofollow" target="_new" href="http://www.tmao.info/what-does-the-neutralresourceslanguageattribute-do/"&gt;http://www.tmao.info/what-does-the-neutralresourceslanguageattribute-do/&lt;/a&gt;&lt;/p&gt;
&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9061013" width="1" height="1"&gt;</description></item></channel></rss>