<?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[problem beim schreiben in die registry]]></title><description><![CDATA[<p>hi, wo ist hier der fehler (hab das zum großteil aus eurer FAQ)<br />
der schlüssel wird einfach nicht erstellt,<br />
also ob der code garnicht existieren würde.</p>
<pre><code class="language-cpp">const char cName1[] = &quot;Name&quot;;
BYTE cValue1[] = &quot;Wert&quot;;
const char cPath1[] = &quot;\\TESTKEY&quot;;

HKEY hKey;
RegCreateKeyEx(HKEY_LOCAL_MACHINE, cPath1, 0, 0, REG_OPTION_NON_VOLATILE, KEY_ALL_ACCESS, NULL, &amp;hKey, 0);
    RegSetValueEx(hKey, cName1, 0, REG_SZ, cValue1, (sizeof(cValue1) / sizeof(cValue1[0])));
RegCloseKey(hKey);
</code></pre>
<p>danke - phen <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/topic/163095/problem-beim-schreiben-in-die-registry</link><generator>RSS for Node</generator><lastBuildDate>Fri, 17 Jul 2026 17:05:48 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/163095.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 26 Oct 2006 01:08:26 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to problem beim schreiben in die registry on Thu, 26 Oct 2006 01:10:26 GMT]]></title><description><![CDATA[<p>hi, wo ist hier der fehler (hab das zum großteil aus eurer FAQ)<br />
der schlüssel wird einfach nicht erstellt,<br />
also ob der code garnicht existieren würde.</p>
<pre><code class="language-cpp">const char cName1[] = &quot;Name&quot;;
BYTE cValue1[] = &quot;Wert&quot;;
const char cPath1[] = &quot;\\TESTKEY&quot;;

HKEY hKey;
RegCreateKeyEx(HKEY_LOCAL_MACHINE, cPath1, 0, 0, REG_OPTION_NON_VOLATILE, KEY_ALL_ACCESS, NULL, &amp;hKey, 0);
    RegSetValueEx(hKey, cName1, 0, REG_SZ, cValue1, (sizeof(cValue1) / sizeof(cValue1[0])));
RegCloseKey(hKey);
</code></pre>
<p>danke - phen <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/1161542</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1161542</guid><dc:creator><![CDATA[Phenex]]></dc:creator><pubDate>Thu, 26 Oct 2006 01:10:26 GMT</pubDate></item><item><title><![CDATA[Reply to problem beim schreiben in die registry on Thu, 26 Oct 2006 06:45:39 GMT]]></title><description><![CDATA[<p>1. Lass das führende Backslash-Zeichen für den Pfad weg.<br />
2. Was sagt GetLastError?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1161592</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1161592</guid><dc:creator><![CDATA[Martin Richter]]></dc:creator><pubDate>Thu, 26 Oct 2006 06:45:39 GMT</pubDate></item><item><title><![CDATA[Reply to problem beim schreiben in die registry on Thu, 26 Oct 2006 14:02:58 GMT]]></title><description><![CDATA[<p>danke, lag wohl an den &quot;\&quot; am anfang <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/1161937</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1161937</guid><dc:creator><![CDATA[Phenex]]></dc:creator><pubDate>Thu, 26 Oct 2006 14:02:58 GMT</pubDate></item></channel></rss>