<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Ahhh&#8230; the olden days&#8230; DialogBox, MessagePumps and the joy of HWNDs</title>
	<atom:link href="http://www.scottleckie.com/2010/06/ahhh-the-olden-days-dialogbox-messagepumps-and-the-joy-of-hwnds/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.scottleckie.com/2010/06/ahhh-the-olden-days-dialogbox-messagepumps-and-the-joy-of-hwnds/</link>
	<description>...how hard can it be?...</description>
	<lastBuildDate>Fri, 23 Dec 2011 18:36:57 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
	<item>
		<title>By: Scott Leckie</title>
		<link>http://www.scottleckie.com/2010/06/ahhh-the-olden-days-dialogbox-messagepumps-and-the-joy-of-hwnds/comment-page-1/#comment-236</link>
		<dc:creator>Scott Leckie</dc:creator>
		<pubDate>Mon, 09 Aug 2010 23:42:22 +0000</pubDate>
		<guid isPermaLink="false">http://www.scottleckie.com/?p=127#comment-236</guid>
		<description>&lt;p&gt;Ah - I remember Petzold...&lt;/p&gt;
&lt;p&gt;Look; it got worse. Now I&#039;m into the crypto API and the UTF-8 / widechar API without recourse to MFC. Definitely re-learning!&lt;/p&gt;
&lt;p&gt;On the upside, I&#039;m getting to design some architecturally neat classes, with lots of constructors that malloc tons of fields, and destructors that { if field { free(field); } }&lt;/p&gt;
&lt;p&gt;When we talk about Inversion Of Control (IOC) it&#039;s easy to forget that the control for releasing resources has passed from the caller to the object. Easy to forget! _CrtDumpMemoryLeaks() is my new best friend :)&lt;/p&gt;</description>
		<content:encoded><![CDATA[<p>Ah &#8211; I remember Petzold&#8230;</p>
<p>Look; it got worse. Now I&#39;m into the crypto API and the UTF-8 / widechar API without recourse to MFC. Definitely re-learning!</p>
<p>On the upside, I&#39;m getting to design some architecturally neat classes, with lots of constructors that malloc tons of fields, and destructors that { if field { free(field); } }</p>
<p>When we talk about Inversion Of Control (IOC) it&#39;s easy to forget that the control for releasing resources has passed from the caller to the object. Easy to forget! _CrtDumpMemoryLeaks() is my new best friend <img src='http://www.scottleckie.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: kamran</title>
		<link>http://www.scottleckie.com/2010/06/ahhh-the-olden-days-dialogbox-messagepumps-and-the-joy-of-hwnds/comment-page-1/#comment-235</link>
		<dc:creator>kamran</dc:creator>
		<pubDate>Sun, 08 Aug 2010 09:07:25 +0000</pubDate>
		<guid isPermaLink="false">http://www.scottleckie.com/?p=127#comment-235</guid>
		<description>Brings back memories of struggling through Charles Petzold&#039;s &quot;Programming Windows&quot; classic C/windows API book. Fortunately,&#160;MFC was already in use by the time I got a windows programming job and&#160;I never actually had to use straight C and the windows API in industry.</description>
		<content:encoded><![CDATA[<p>Brings back memories of struggling through Charles Petzold&#39;s &quot;Programming Windows&quot; classic C/windows API book. Fortunately,&nbsp;MFC was already in use by the time I got a windows programming job and&nbsp;I never actually had to use straight C and the windows API in industry.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Scott Leckie</title>
		<link>http://www.scottleckie.com/2010/06/ahhh-the-olden-days-dialogbox-messagepumps-and-the-joy-of-hwnds/comment-page-1/#comment-228</link>
		<dc:creator>Scott Leckie</dc:creator>
		<pubDate>Fri, 09 Jul 2010 23:31:35 +0000</pubDate>
		<guid isPermaLink="false">http://www.scottleckie.com/?p=127#comment-228</guid>
		<description>&lt;p&gt;For this project, I&#039;ve now built&#160;a number of resource based Dialogs, and then constructed .cpp files to handle the message pumps for each. Then, the account manager who sold the original concept (password reset, as you ask), popped by. She asked &quot;so, is it quite difficult?&quot;.&lt;/p&gt;
&lt;p&gt;I showed her my copy of &quot;Developing distributed applications with Visual C++ 6.0&quot; and said; &quot;do you know... If I wanted to create this dialog in 2010 level C#, I would use &#039;CMyDialog x = new CMyDialog; x.Show()&#039; and now, I have three pages of code. FOR ONE DIALOG!!! AND do you realise the complexities of managing resource.h and myproject.rc? DO YOU? DO YOU?????&quot;&lt;/p&gt;
&lt;p&gt;&#160;&lt;/p&gt;
&lt;p&gt;Then she ran away&lt;/p&gt;</description>
		<content:encoded><![CDATA[<p>For this project, I&#39;ve now built&nbsp;a number of resource based Dialogs, and then constructed .cpp files to handle the message pumps for each. Then, the account manager who sold the original concept (password reset, as you ask), popped by. She asked &quot;so, is it quite difficult?&quot;.</p>
<p>I showed her my copy of &quot;Developing distributed applications with Visual C++ 6.0&quot; and said; &quot;do you know&#8230; If I wanted to create this dialog in 2010 level C#, I would use &#39;CMyDialog x = new CMyDialog; x.Show()&#39; and now, I have three pages of code. FOR ONE DIALOG!!! AND do you realise the complexities of managing resource.h and myproject.rc? DO YOU? DO YOU?????&quot;</p>
<p>&nbsp;</p>
<p>Then she ran away</p>
]]></content:encoded>
	</item>
</channel>
</rss>

