<?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[dword in byte*???]]></title><description><![CDATA[<p>wie kann ich das umwandeln?</p>
<p>und wenn es nicht geht, wie kann ich ein dword in der registry speichern???</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/81046/dword-in-byte</link><generator>RSS for Node</generator><lastBuildDate>Fri, 17 Apr 2026 17:58:40 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/81046.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 27 Jul 2004 13:26:22 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to dword in byte*??? on Tue, 27 Jul 2004 13:26:22 GMT]]></title><description><![CDATA[<p>wie kann ich das umwandeln?</p>
<p>und wenn es nicht geht, wie kann ich ein dword in der registry speichern???</p>
]]></description><link>https://www.c-plusplus.net/forum/post/569492</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/569492</guid><dc:creator><![CDATA[- enForcer -]]></dc:creator><pubDate>Tue, 27 Jul 2004 13:26:22 GMT</pubDate></item><item><title><![CDATA[Reply to dword in byte*??? on Tue, 27 Jul 2004 13:31:32 GMT]]></title><description><![CDATA[<p>Was heißt für dich BYTE*?</p>
<p>Den Inhalt des DWords in eine Adresse konvertieren die auf ein Byte zeigt?<br />
Die einzelnen Ziffern in ein Byte-Array konvertieren?<br />
Sonstwas?</p>
<p>MfG SideWinder</p>
]]></description><link>https://www.c-plusplus.net/forum/post/569498</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/569498</guid><dc:creator><![CDATA[SideWinder]]></dc:creator><pubDate>Tue, 27 Jul 2004 13:31:32 GMT</pubDate></item><item><title><![CDATA[Reply to dword in byte*??? on Tue, 27 Jul 2004 13:37:16 GMT]]></title><description><![CDATA[<p>für die funktion regsetvalueex brauch ich ein const byte* lpdata. ich hab ein dword m_dwhotkey. wie übergebe ich das dword an die funktion ohne datenverlust.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/569503</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/569503</guid><dc:creator><![CDATA[- enForcer -]]></dc:creator><pubDate>Tue, 27 Jul 2004 13:37:16 GMT</pubDate></item><item><title><![CDATA[Reply to dword in byte*??? on Tue, 27 Jul 2004 13:48:25 GMT]]></title><description><![CDATA[<p>ok, habs anders mit der funktion setvalue gemacht. das funzt, aber er gibt eine warning, dass die funktion veraltet ist. was heißt denn das nun wieder?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/569517</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/569517</guid><dc:creator><![CDATA[- enForcer -]]></dc:creator><pubDate>Tue, 27 Jul 2004 13:48:25 GMT</pubDate></item><item><title><![CDATA[Reply to dword in byte*??? on Tue, 27 Jul 2004 14:33:28 GMT]]></title><description><![CDATA[<p>msdn schrieb:</p>
<blockquote>
<p>Call this method to store data in the specified value field of m_hKey. Earlier versions of this method are no longer supported and are marked as ATL_DEPRECATED.<br />
.<br />
.<br />
.<br />
The two original versions of SetValue are marked as ATL_DEPRECATED and should no longer be used. The compiler will issue a warning if these forms are used.</p>
</blockquote>
<p><a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vclib/html/_atl_CRegKey.3a3a.SetValue.asp" rel="nofollow">http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vclib/html/_atl_CRegKey.3a3a.SetValue.asp</a></p>
]]></description><link>https://www.c-plusplus.net/forum/post/569575</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/569575</guid><dc:creator><![CDATA[Emperor_L0ser]]></dc:creator><pubDate>Tue, 27 Jul 2004 14:33:28 GMT</pubDate></item><item><title><![CDATA[Reply to dword in byte*??? on Tue, 27 Jul 2004 15:03:56 GMT]]></title><description><![CDATA[<pre><code class="language-cpp">char bytearray[5];
strcpy(bytearray,(char*)myDWORD);
bytearray[4]='\0';
</code></pre>
<p>Devil</p>
]]></description><link>https://www.c-plusplus.net/forum/post/569613</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/569613</guid><dc:creator><![CDATA[phlox81]]></dc:creator><pubDate>Tue, 27 Jul 2004 15:03:56 GMT</pubDate></item><item><title><![CDATA[Reply to dword in byte*??? on Tue, 27 Jul 2004 20:28:24 GMT]]></title><description><![CDATA[<p>Hallo,</p>
<p>Emperor_L0ser schrieb:</p>
<blockquote>
<p>für die funktion regsetvalueex brauch ich ein const byte* lpdata. ich hab ein dword m_dwhotkey. wie übergebe ich das dword an die funktion ohne datenverlust.</p>
</blockquote>
<p>da gibt's keinen Datenverlust, du mußt nur die &quot;Kunst des Castens&quot; beherrschen :), den richtigen Typ (REG_DWORD) angeben und die passende Größe(hier ist vielleicht die einzige Gefahrenstelle für einen Datenverlust):</p>
<p>// hkey, lpValueName sind bereits passend belegt</p>
<pre><code class="language-cpp">RegSetValueEx(hkey, lpValueName, 0, REG_DWORD, reinterpret_cast&lt;BYTE*&gt;(&amp;m_dwhotkey), sizeof(m_dwhotkey));
</code></pre>
<p>MfG</p>
]]></description><link>https://www.c-plusplus.net/forum/post/569861</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/569861</guid><dc:creator><![CDATA[Probe-Nutzer]]></dc:creator><pubDate>Tue, 27 Jul 2004 20:28:24 GMT</pubDate></item><item><title><![CDATA[Reply to dword in byte*??? on Wed, 28 Jul 2004 07:14:20 GMT]]></title><description><![CDATA[<p>Probe-Nutzer schrieb:</p>
<blockquote>
<p>Hallo,</p>
<p>Emperor_L0ser schrieb:</p>
<blockquote>
<p>für die funktion regsetvalueex brauch ich ein const byte* lpdata. ich hab ein dword m_dwhotkey. wie übergebe ich das dword an die funktion ohne datenverlust.</p>
</blockquote>
</blockquote>
<p>ich weiss ja nicht wie du quote benutzt, das hab ich aber ned geschrieben, sondern -enForcer-</p>
]]></description><link>https://www.c-plusplus.net/forum/post/570053</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/570053</guid><dc:creator><![CDATA[Emperor_L0ser]]></dc:creator><pubDate>Wed, 28 Jul 2004 07:14:20 GMT</pubDate></item><item><title><![CDATA[Reply to dword in byte*??? on Wed, 28 Jul 2004 08:43:56 GMT]]></title><description><![CDATA[<p>sorry, ich weiß nicht, warum, aber ich habe unnötigerweise mit copy &amp; paste gequotet, und bin dabei in der Beitragszeile verrutscht (und dabei ist mir doch bekannt, daß es einen &quot;Zitieren&quot;-Link unter jedem Beitrag gibt). Naja, war ich wohl nicht mehr ganz fit <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f603.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--grinning_face_with_big_eyes"
      title=":D"
      alt="😃"
    /></p>
<p>MfG</p>
]]></description><link>https://www.c-plusplus.net/forum/post/570136</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/570136</guid><dc:creator><![CDATA[Probe-Nutzer]]></dc:creator><pubDate>Wed, 28 Jul 2004 08:43:56 GMT</pubDate></item></channel></rss>