<?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[RegEnumKeyEx]]></title><description><![CDATA[<p>Hallo!</p>
<p>ich arbeite gerade an einem registryeditor nur leider werden nicht alle der gefundenen keynamen auch in den dafür vorgesehenen Strings gespeichert.</p>
<p>Hiermal der Source:</p>
<p>[/cpp]<br />
int enumsubkeys(HKEY key)</p>
<p>{<br />
HKEY hkey;<br />
hkey=HKEY_USERS;<br />
unsigned long int subkeys;<br />
unsigned long int i;<br />
char string [20] [200];<br />
unsigned long int buffersize=sizeof(string[0]);</p>
<p>for (i=0;i&lt;=subkeys;index++,i++)</p>
<p>{<br />
RegEnumKeyEx(key,index,string[i],&amp;buffersize,NULL,NULL,NULL,NULL);<br />
printf(&quot;%s\n&quot;,string[i]);<br />
}</p>
<p>return 0;<br />
}<br />
[cpp]</p>
<p>Vielleicht könnt ihr mir ja helfen,</p>
<p>MFG</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/173375/regenumkeyex</link><generator>RSS for Node</generator><lastBuildDate>Mon, 13 Jul 2026 06:34:54 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/173375.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 14 Feb 2007 15:47:04 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to RegEnumKeyEx on Wed, 14 Feb 2007 15:47:04 GMT]]></title><description><![CDATA[<p>Hallo!</p>
<p>ich arbeite gerade an einem registryeditor nur leider werden nicht alle der gefundenen keynamen auch in den dafür vorgesehenen Strings gespeichert.</p>
<p>Hiermal der Source:</p>
<p>[/cpp]<br />
int enumsubkeys(HKEY key)</p>
<p>{<br />
HKEY hkey;<br />
hkey=HKEY_USERS;<br />
unsigned long int subkeys;<br />
unsigned long int i;<br />
char string [20] [200];<br />
unsigned long int buffersize=sizeof(string[0]);</p>
<p>for (i=0;i&lt;=subkeys;index++,i++)</p>
<p>{<br />
RegEnumKeyEx(key,index,string[i],&amp;buffersize,NULL,NULL,NULL,NULL);<br />
printf(&quot;%s\n&quot;,string[i]);<br />
}</p>
<p>return 0;<br />
}<br />
[cpp]</p>
<p>Vielleicht könnt ihr mir ja helfen,</p>
<p>MFG</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1228861</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1228861</guid><dc:creator><![CDATA[Muhi89]]></dc:creator><pubDate>Wed, 14 Feb 2007 15:47:04 GMT</pubDate></item><item><title><![CDATA[Reply to RegEnumKeyEx on Wed, 14 Feb 2007 15:48:53 GMT]]></title><description><![CDATA[<p>sorry, hab mich vertippt</p>
<pre><code class="language-cpp">int enumsubkeys(HKEY key)

{
HKEY hkey;
hkey=HKEY_USERS;
unsigned long int subkeys;
unsigned long int i;
char string [20] [200];
unsigned long int buffersize=sizeof(string[0]);

for (i=0;i&lt;=subkeys;index++,i++)

{
RegEnumKeyEx(key,index,string[i],&amp;buffersize,NULL,NULL,NULL,NULL);
printf(&quot;%s\n&quot;,string[i]);
}

return 0;
}
</code></pre>
]]></description><link>https://www.c-plusplus.net/forum/post/1228865</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1228865</guid><dc:creator><![CDATA[Muhi89]]></dc:creator><pubDate>Wed, 14 Feb 2007 15:48:53 GMT</pubDate></item><item><title><![CDATA[Reply to RegEnumKeyEx on Wed, 14 Feb 2007 16:38:45 GMT]]></title><description><![CDATA[<p>Hallo,</p>
<p>habs gelöst mit RegEnumKey(),</p>
<p>das ist schon das zweite mal, dass eine -Ex Funktion nicht funktioniert hat bzw die Version ohne Ex einwandfrei funktioniert hat.</p>
<p>Wisst ihr woran das liegen könnte?</p>
<p>MFG</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1228927</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1228927</guid><dc:creator><![CDATA[Muhi8]]></dc:creator><pubDate>Wed, 14 Feb 2007 16:38:45 GMT</pubDate></item></channel></rss>