<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[REG_DWORD setzen ?]]></title><description><![CDATA[<p>Ich möchte ein REG_DWORD auf den Wert 0 setzen.<br />
Ich erhalte bei diesem Code jedoch den Hinweis<br />
SetValue': Mehrdeutiger Aufruf einer überladenen Funktion</p>
<pre><code class="language-cpp">CRegKey key2;
key2.Open( HKEY_CURRENT_USER, &quot;SOFTWARE\\BACKUP\\SETTINGS&quot;, KEY_WRITE);
key2.SetValue( 0, &quot;Enabled&quot;); // er nimmt 1, aber 0 nicht ?
key2.Close();
</code></pre>
]]></description><link>https://www.c-plusplus.net/forum/topic/121375/reg_dword-setzen</link><generator>RSS for Node</generator><lastBuildDate>Sun, 05 Jul 2026 17:08:16 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/121375.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 22 Sep 2005 16:47:03 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to REG_DWORD setzen ? on Thu, 22 Sep 2005 16:47:03 GMT]]></title><description><![CDATA[<p>Ich möchte ein REG_DWORD auf den Wert 0 setzen.<br />
Ich erhalte bei diesem Code jedoch den Hinweis<br />
SetValue': Mehrdeutiger Aufruf einer überladenen Funktion</p>
<pre><code class="language-cpp">CRegKey key2;
key2.Open( HKEY_CURRENT_USER, &quot;SOFTWARE\\BACKUP\\SETTINGS&quot;, KEY_WRITE);
key2.SetValue( 0, &quot;Enabled&quot;); // er nimmt 1, aber 0 nicht ?
key2.Close();
</code></pre>
]]></description><link>https://www.c-plusplus.net/forum/post/878014</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/878014</guid><dc:creator><![CDATA[Sqong]]></dc:creator><pubDate>Thu, 22 Sep 2005 16:47:03 GMT</pubDate></item><item><title><![CDATA[Reply to REG_DWORD setzen ? on Thu, 22 Sep 2005 16:50:59 GMT]]></title><description><![CDATA[<p>Ah, ich muss also</p>
<pre><code>([b]&quot;&quot;[/b],&quot;Enabled&quot;)
</code></pre>
<p>setzen, richtig ?!</p>
]]></description><link>https://www.c-plusplus.net/forum/post/878019</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/878019</guid><dc:creator><![CDATA[Sqong]]></dc:creator><pubDate>Thu, 22 Sep 2005 16:50:59 GMT</pubDate></item><item><title><![CDATA[Reply to REG_DWORD setzen ? on Thu, 22 Sep 2005 17:01:31 GMT]]></title><description><![CDATA[<p>Eigentlich ist das ein DWORD, also sollte o bzw. 1 schon funktionieren. Allerdings scheint diese Methode veraltet zu sein:</p>
<blockquote>
<p>The two original versions of SetValue are marked as ATL_DEPRECATED and should no longer be used. The compiler will issue a warning if these forms are used.</p>
</blockquote>
<p><a href="http://msdn.microsoft.com/library/en-us/vclib/html/_atl_CRegKey.3a3a.SetValue.asp" rel="nofollow">http://msdn.microsoft.com/library/en-us/vclib/html/_atl_CRegKey.3a3a.SetValue.asp</a></p>
]]></description><link>https://www.c-plusplus.net/forum/post/878032</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/878032</guid><dc:creator><![CDATA[flenders]]></dc:creator><pubDate>Thu, 22 Sep 2005 17:01:31 GMT</pubDate></item></channel></rss>