<?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 mit Regedit]]></title><description><![CDATA[<p>Hallo Leute,</p>
<p>kann mir jemand sagen warum dass nicht geht ??</p>
<pre><code class="language-cpp">DWORD dwData = 256; 
BYTE cDaten[256] = &quot;&quot;; 
HKEY hKey = NULL; 
if (ERROR_SUCCESS == (RegOpenKeyEx(HKEY_LOCAL_MACHINE, &quot;Software\\Microsoft\\Ie Setup\\Setup&quot;, 0, KEY_ALL_ACCESS, &amp;hKey)))
{
   RegQueryValueEx(hKey,&quot;Path&quot;,0,0,cDaten,&amp;dwData);
}
else 
{
   std::cout &lt;&lt; &quot;Kann RegKey nicht oeffnen!&quot; &lt;&lt; std::endl;
}
RegCloseKey(hKey); 

std::cout &lt;&lt; cDaten &lt;&lt; std::endl;
</code></pre>
<p>Wenn ich anstatt HKEY_LOCAL_MACHINE , HKEY_CURRENT_USER und entsprechenden Pfad nehme, bekomme ich einen Wert....</p>
<p>Wenn ich Regedeit von Hnad öffne kann ich Ihn lesen.<br />
Ich möchte eigentlich nur lesen, und sonst nichts..</p>
<p>Hat jemand ne Idee ??<br />
Gruß<br />
andy_mann</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/74012/problem-mit-regedit</link><generator>RSS for Node</generator><lastBuildDate>Fri, 10 Apr 2026 10:46:25 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/74012.rss" rel="self" type="application/rss+xml"/><pubDate>Sun, 16 May 2004 13:40:17 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Problem mit Regedit on Sun, 16 May 2004 13:40:17 GMT]]></title><description><![CDATA[<p>Hallo Leute,</p>
<p>kann mir jemand sagen warum dass nicht geht ??</p>
<pre><code class="language-cpp">DWORD dwData = 256; 
BYTE cDaten[256] = &quot;&quot;; 
HKEY hKey = NULL; 
if (ERROR_SUCCESS == (RegOpenKeyEx(HKEY_LOCAL_MACHINE, &quot;Software\\Microsoft\\Ie Setup\\Setup&quot;, 0, KEY_ALL_ACCESS, &amp;hKey)))
{
   RegQueryValueEx(hKey,&quot;Path&quot;,0,0,cDaten,&amp;dwData);
}
else 
{
   std::cout &lt;&lt; &quot;Kann RegKey nicht oeffnen!&quot; &lt;&lt; std::endl;
}
RegCloseKey(hKey); 

std::cout &lt;&lt; cDaten &lt;&lt; std::endl;
</code></pre>
<p>Wenn ich anstatt HKEY_LOCAL_MACHINE , HKEY_CURRENT_USER und entsprechenden Pfad nehme, bekomme ich einen Wert....</p>
<p>Wenn ich Regedeit von Hnad öffne kann ich Ihn lesen.<br />
Ich möchte eigentlich nur lesen, und sonst nichts..</p>
<p>Hat jemand ne Idee ??<br />
Gruß<br />
andy_mann</p>
]]></description><link>https://www.c-plusplus.net/forum/post/521348</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/521348</guid><dc:creator><![CDATA[andy_mann]]></dc:creator><pubDate>Sun, 16 May 2004 13:40:17 GMT</pubDate></item><item><title><![CDATA[Reply to Problem mit Regedit on Sun, 16 May 2004 13:51:22 GMT]]></title><description><![CDATA[<p>vermute mal du hast keine administativen rechte.<br />
probier mal KEY_READ statt KEY_ALL_ACCSESS</p>
<p><a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/sysinfo/base/registry_key_security_and_access_rights.asp" rel="nofollow">http://msdn.microsoft.com/library/default.asp?url=/library/en-us/sysinfo/base/registry_key_security_and_access_rights.asp</a></p>
]]></description><link>https://www.c-plusplus.net/forum/post/521357</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/521357</guid><dc:creator><![CDATA[miller_m]]></dc:creator><pubDate>Sun, 16 May 2004 13:51:22 GMT</pubDate></item><item><title><![CDATA[Reply to Problem mit Regedit on Sun, 16 May 2004 16:04:15 GMT]]></title><description><![CDATA[<p>Vielen Dank,</p>
<p>das war es...</p>
<p>Gruß<br />
andy_mann</p>
]]></description><link>https://www.c-plusplus.net/forum/post/521428</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/521428</guid><dc:creator><![CDATA[andy_mann]]></dc:creator><pubDate>Sun, 16 May 2004 16:04:15 GMT</pubDate></item></channel></rss>