<?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[[Registry] Schlüssel auf Wert prüfen]]></title><description><![CDATA[<p>N'abend<br />
Ich suche nach einer Lösung, mit der ich in einem bestimmten Registryschlüssel prüfen kann, ob ein Wert bereits vorhanden ist. Ich habe schon mit RegEnumValue... etc.rumprobiert, aber es ist bisher noch kein funktionables Ergebnis rausgekommen. Habt ihr vllt. eine/n Lösung/sansatz bzw. einen Link auf denen dieses Problem bearbeitet wird?</p>
<p>DIV Ominion</p>
<p>PS: auf <a href="http://www.winapi.net" rel="nofollow">www.winapi.net</a> gibt es zwar eine Möglichkeit auf das Bestehen eines Schlüssels hin zu überprüfen, allerdings gilt das nicht für einen Wert.</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/188495/registry-schlüssel-auf-wert-prüfen</link><generator>RSS for Node</generator><lastBuildDate>Fri, 03 Jul 2026 03:33:58 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/188495.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 31 Jul 2007 23:37:25 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to [Registry] Schlüssel auf Wert prüfen on Tue, 31 Jul 2007 23:37:25 GMT]]></title><description><![CDATA[<p>N'abend<br />
Ich suche nach einer Lösung, mit der ich in einem bestimmten Registryschlüssel prüfen kann, ob ein Wert bereits vorhanden ist. Ich habe schon mit RegEnumValue... etc.rumprobiert, aber es ist bisher noch kein funktionables Ergebnis rausgekommen. Habt ihr vllt. eine/n Lösung/sansatz bzw. einen Link auf denen dieses Problem bearbeitet wird?</p>
<p>DIV Ominion</p>
<p>PS: auf <a href="http://www.winapi.net" rel="nofollow">www.winapi.net</a> gibt es zwar eine Möglichkeit auf das Bestehen eines Schlüssels hin zu überprüfen, allerdings gilt das nicht für einen Wert.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1336213</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1336213</guid><dc:creator><![CDATA[Ominion]]></dc:creator><pubDate>Tue, 31 Jul 2007 23:37:25 GMT</pubDate></item><item><title><![CDATA[Reply to [Registry] Schlüssel auf Wert prüfen on Wed, 01 Aug 2007 02:28:33 GMT]]></title><description><![CDATA[<p>Möchtest du auf Vorhandensein eines bestimmten Werts prüfen?</p>
<pre><code class="language-cpp">// Falls Typ ausgelesen werden soll
DWORD dwType;

HKEY hSubKey;
if(ERROR_SUCCESS != RegOpenKeyEx(hKey, lpSubKey, 0, NULL, &amp;hSubKey))
{
  // Fehlerbehandlung
}
else
{
  if(ERROR_SUCCESS != RegQueryValueEx(hSubKey, TEXT(&quot;Value to check&quot;), NULL, &amp;dwType, NULL, NULL))
    // Fehlerbehandlung
  else
    // Wert vorhanden
  RegCloseKey(hSubKey);
}
</code></pre>
]]></description><link>https://www.c-plusplus.net/forum/post/1336224</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1336224</guid><dc:creator><![CDATA[Analog Bit]]></dc:creator><pubDate>Wed, 01 Aug 2007 02:28:33 GMT</pubDate></item><item><title><![CDATA[Reply to [Registry] Schlüssel auf Wert prüfen on Fri, 03 Aug 2007 18:11:53 GMT]]></title><description><![CDATA[<p>Sry für die etwas verspätete Antwort...<br />
Das ist genau das, was ich gesucht habe, thx.</p>
<p>Mfg Ominion</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1338351</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1338351</guid><dc:creator><![CDATA[Ominion]]></dc:creator><pubDate>Fri, 03 Aug 2007 18:11:53 GMT</pubDate></item><item><title><![CDATA[Reply to [Registry] Schlüssel auf Wert prüfen on Fri, 03 Aug 2007 20:13:46 GMT]]></title><description><![CDATA[<p><img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/27a1.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--right_arrow"
      title=":arrow_right:"
      alt="➡"
    /> <a href="http://winapi.net/index.php?inhalt=s23" rel="nofollow">http://winapi.net/index.php?inhalt=s23</a> <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f609.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--winking_face"
      title=";)"
      alt="😉"
    /> .</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1338393</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1338393</guid><dc:creator><![CDATA[CodeFinder]]></dc:creator><pubDate>Fri, 03 Aug 2007 20:13:46 GMT</pubDate></item></channel></rss>