<?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>Kommentare zu: VS Tipps &amp; Tricks: Der unbekannte CString Konstruktor&#8230;</title>
	<atom:link href="http://blog.m-ri.de/index.php/2009/02/25/der-unbekannte-cstring-konstruktor/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.m-ri.de/index.php/2009/02/25/der-unbekannte-cstring-konstruktor/</link>
	<description>Gesammeltes aus dem Leben eines &#34;normalen&#34; Programmierers... :-)</description>
	<lastBuildDate>Mon, 06 Feb 2012 10:54:51 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>Von: Martin Richter</title>
		<link>http://blog.m-ri.de/index.php/2009/02/25/der-unbekannte-cstring-konstruktor/comment-page-1/#comment-3288</link>
		<dc:creator>Martin Richter</dc:creator>
		<pubDate>Wed, 04 Mar 2009 06:20:20 +0000</pubDate>
		<guid isPermaLink="false">http://blog.m-ri.de/?p=425#comment-3288</guid>
		<description>@msdn: Ich verstehe Deinen Einwand nicht.
Und warum soll man es eben nicht im CString Konstruktor benutzen?
1. Es ist dokumentiert, wenn auch nur im Beispiel und Nebensatz.
2. Es ist eine Funktion, die die MFC seit der frühesten Version hat.</description>
		<content:encoded><![CDATA[<p>@msdn: Ich verstehe Deinen Einwand nicht.<br />
Und warum soll man es eben nicht im CString Konstruktor benutzen?<br />
1. Es ist dokumentiert, wenn auch nur im Beispiel und Nebensatz.<br />
2. Es ist eine Funktion, die die MFC seit der frühesten Version hat.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Von: msdn</title>
		<link>http://blog.m-ri.de/index.php/2009/02/25/der-unbekannte-cstring-konstruktor/comment-page-1/#comment-3286</link>
		<dc:creator>msdn</dc:creator>
		<pubDate>Wed, 04 Mar 2009 04:37:45 +0000</pubDate>
		<guid isPermaLink="false">http://blog.m-ri.de/?p=425#comment-3286</guid>
		<description>Dafür sagt die MSDN bei MAKEINTRESOURCE eindeutig:

The return value should be passed only to functions which explicitly indicate that they accept MAKEINTRESOURCE as a parameter. For example, the resource management functions allow the return value of MAKEINTRESOURCE to be passed as the lpType or lpName parameters.</description>
		<content:encoded><![CDATA[<p>Dafür sagt die MSDN bei MAKEINTRESOURCE eindeutig:</p>
<p>The return value should be passed only to functions which explicitly indicate that they accept MAKEINTRESOURCE as a parameter. For example, the resource management functions allow the return value of MAKEINTRESOURCE to be passed as the lpType or lpName parameters.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Von: Martin Richter</title>
		<link>http://blog.m-ri.de/index.php/2009/02/25/der-unbekannte-cstring-konstruktor/comment-page-1/#comment-3141</link>
		<dc:creator>Martin Richter</dc:creator>
		<pubDate>Thu, 26 Feb 2009 13:39:40 +0000</pubDate>
		<guid isPermaLink="false">http://blog.m-ri.de/?p=425#comment-3141</guid>
		<description>Ich würde es alleine der Konformität wegen so machen:

&lt;pre lang=&quot;cpp&quot;&gt;#define _S(id) \
    (CString(MAKEINTRESOURCE(id)).GetString())&lt;/pre&gt;</description>
		<content:encoded><![CDATA[<p>Ich würde es alleine der Konformität wegen so machen:</p>

<div class="wp_syntax"><div class="code"><pre class="cpp" style="font-family:monospace;"><span style="color: #339900;">#define _S(id) \
    (CString(MAKEINTRESOURCE(id)).GetString())</span></pre></div></div>

]]></content:encoded>
	</item>
	<item>
		<title>Von: Sven</title>
		<link>http://blog.m-ri.de/index.php/2009/02/25/der-unbekannte-cstring-konstruktor/comment-page-1/#comment-3134</link>
		<dc:creator>Sven</dc:creator>
		<pubDate>Wed, 25 Feb 2009 21:42:47 +0000</pubDate>
		<guid isPermaLink="false">http://blog.m-ri.de/?p=425#comment-3134</guid>
		<description>Schreibfaule Programmierer verpacken das noch in ein Makro:

&lt;pre lang=&quot;cpp&quot;&gt;#define _S(id) \
    (CString(reinterpret_cast&lt;LPCWSTR&gt;((static_cast&lt;UINT_PTR&gt;(id)))))&lt;/pre&gt;

</description>
		<content:encoded><![CDATA[<p>Schreibfaule Programmierer verpacken das noch in ein Makro:</p>

<div class="wp_syntax"><div class="code"><pre class="cpp" style="font-family:monospace;"><span style="color: #339900;">#define _S(id) \
    (CString(reinterpret_cast&lt;LPCWSTR&gt;((static_cast&lt;UINT_PTR&gt;(id)))))</span></pre></div></div>

]]></content:encoded>
	</item>
</channel>
</rss>

