<?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[RegDelete klappt nicht!]]></title><description><![CDATA[<p>Ich will einen Key löschen dies klappt super aber wenn ich einen Wert löschen will klappt dies leider nicht so ganz.</p>
<pre><code>HKEY hKey = &quot;HKEY_LOCAL_MACHINE,SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Run&quot;;    
RegDeleteValue(hKey,&quot;Test1&quot;);
</code></pre>
<p>Wenn ich dann das Programm ausführe erscheint keine Fehlermeldung oder sonst was,aber der Wert ist immer noch in der Regedit.<br />
Jetzt meine Frage was mache ich verkehrt?</p>
<p>mfg<br />
MacPrii</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/173639/regdelete-klappt-nicht</link><generator>RSS for Node</generator><lastBuildDate>Sun, 12 Jul 2026 20:39:06 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/173639.rss" rel="self" type="application/rss+xml"/><pubDate>Sun, 18 Feb 2007 12:13:48 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to RegDelete klappt nicht! on Sun, 18 Feb 2007 12:13:48 GMT]]></title><description><![CDATA[<p>Ich will einen Key löschen dies klappt super aber wenn ich einen Wert löschen will klappt dies leider nicht so ganz.</p>
<pre><code>HKEY hKey = &quot;HKEY_LOCAL_MACHINE,SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Run&quot;;    
RegDeleteValue(hKey,&quot;Test1&quot;);
</code></pre>
<p>Wenn ich dann das Programm ausführe erscheint keine Fehlermeldung oder sonst was,aber der Wert ist immer noch in der Regedit.<br />
Jetzt meine Frage was mache ich verkehrt?</p>
<p>mfg<br />
MacPrii</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1230532</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1230532</guid><dc:creator><![CDATA[MacPrii]]></dc:creator><pubDate>Sun, 18 Feb 2007 12:13:48 GMT</pubDate></item><item><title><![CDATA[Reply to RegDelete klappt nicht! on Sun, 18 Feb 2007 12:26:42 GMT]]></title><description><![CDATA[<p>Normal solltest du auch vorher RegOpenKey(Ex) usw nutzen um den HKEY zu erhalten ...</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1230542</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1230542</guid><dc:creator><![CDATA[*D*Evil]]></dc:creator><pubDate>Sun, 18 Feb 2007 12:26:42 GMT</pubDate></item><item><title><![CDATA[Reply to RegDelete klappt nicht! on Sun, 18 Feb 2007 12:30:38 GMT]]></title><description><![CDATA[<p>Hmmm aber der Key wurde von mir per Hand erstellt</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1230549</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1230549</guid><dc:creator><![CDATA[MacPrii]]></dc:creator><pubDate>Sun, 18 Feb 2007 12:30:38 GMT</pubDate></item><item><title><![CDATA[Reply to RegDelete klappt nicht! on Sun, 18 Feb 2007 12:37:44 GMT]]></title><description><![CDATA[<p>Hmmm, dann versuchs doch mal mit RegOpenKey...</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1230559</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1230559</guid><dc:creator><![CDATA[(A)Evil]]></dc:creator><pubDate>Sun, 18 Feb 2007 12:37:44 GMT</pubDate></item><item><title><![CDATA[Reply to RegDelete klappt nicht! on Sun, 18 Feb 2007 12:39:41 GMT]]></title><description><![CDATA[<p>Geht es vll. auch ohne???</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1230561</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1230561</guid><dc:creator><![CDATA[MacPrii]]></dc:creator><pubDate>Sun, 18 Feb 2007 12:39:41 GMT</pubDate></item><item><title><![CDATA[Reply to RegDelete klappt nicht! on Sun, 18 Feb 2007 12:56:07 GMT]]></title><description><![CDATA[<p>Um einen Schlüssel zu löschen muss man ihn ja auch nicht per RegCreateKey erstellen</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1230573</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1230573</guid><dc:creator><![CDATA[MacPrii]]></dc:creator><pubDate>Sun, 18 Feb 2007 12:56:07 GMT</pubDate></item><item><title><![CDATA[Reply to RegDelete klappt nicht! on Tue, 20 Feb 2007 13:21:15 GMT]]></title><description><![CDATA[<p>Probiere es mal so:</p>
<pre><code>HKEY hKey;
RegCreateKey   (HKEY_LOCAL_MACHINE,&quot;SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Run&quot;,&amp;hKey);
RegDeleteValue(hKey,&quot;Test1&quot;);
RegCloseKey(hKey);
</code></pre>
]]></description><link>https://www.c-plusplus.net/forum/post/1231941</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1231941</guid><dc:creator><![CDATA[Dry Gin]]></dc:creator><pubDate>Tue, 20 Feb 2007 13:21:15 GMT</pubDate></item><item><title><![CDATA[Reply to RegDelete klappt nicht! on Tue, 20 Feb 2007 15:33:14 GMT]]></title><description><![CDATA[<p>Bei sowas ist es immer sehr hilfreich GetLastError aufzurufen und die Rückgabewerte der Funktionen auszuwerten. <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f644.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--face_with_rolling_eyes"
      title=":rolling_eyes:"
      alt="🙄"
    /></p>
]]></description><link>https://www.c-plusplus.net/forum/post/1232069</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1232069</guid><dc:creator><![CDATA[[[global:former_user]]]]></dc:creator><pubDate>Tue, 20 Feb 2007 15:33:14 GMT</pubDate></item></channel></rss>