<?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[SetWindowLongPtr und SetWindowLong]]></title><description><![CDATA[<p>Hallo</p>
<p>Ich habe aus einem Tutorial folgenden Code:</p>
<pre><code class="language-cpp">// Handles der Child-Dialoge speichern
 SetWindowLongPtr(hWindow, GWLP_USERDATA, (long*)phDlg);
</code></pre>
<p>Allerdings kennt er weder SetWindowLongPtr noch GWLP_USERDATA. Ich habe im Internet geschaut und dort steht das die in der headerdatei winuser.h, die von windows.h includiert wird, eingebunden wird. Allerdings findet mein Compiler (MS Visual Studio 6.0) diese Bezeichner nicht. Was geht da vor und wie kann ich das Problem beheben?!</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/88775/setwindowlongptr-und-setwindowlong</link><generator>RSS for Node</generator><lastBuildDate>Tue, 21 Apr 2026 08:27:26 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/88775.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 13 Oct 2004 09:58:47 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to SetWindowLongPtr und SetWindowLong on Wed, 13 Oct 2004 09:58:47 GMT]]></title><description><![CDATA[<p>Hallo</p>
<p>Ich habe aus einem Tutorial folgenden Code:</p>
<pre><code class="language-cpp">// Handles der Child-Dialoge speichern
 SetWindowLongPtr(hWindow, GWLP_USERDATA, (long*)phDlg);
</code></pre>
<p>Allerdings kennt er weder SetWindowLongPtr noch GWLP_USERDATA. Ich habe im Internet geschaut und dort steht das die in der headerdatei winuser.h, die von windows.h includiert wird, eingebunden wird. Allerdings findet mein Compiler (MS Visual Studio 6.0) diese Bezeichner nicht. Was geht da vor und wie kann ich das Problem beheben?!</p>
]]></description><link>https://www.c-plusplus.net/forum/post/627500</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/627500</guid><dc:creator><![CDATA[fluxy]]></dc:creator><pubDate>Wed, 13 Oct 2004 09:58:47 GMT</pubDate></item><item><title><![CDATA[Reply to SetWindowLongPtr und SetWindowLong on Wed, 13 Oct 2004 10:17:48 GMT]]></title><description><![CDATA[<p>Das ist erst in der neuen PSDK dabei, da mußte halt nen Update machen</p>
<p>EDIT: Der <a href="http://www.microsoft.com/msdownload/platformsdk/sdkupdate/" rel="nofollow">Link</a> dazu</p>
]]></description><link>https://www.c-plusplus.net/forum/post/627508</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/627508</guid><dc:creator><![CDATA[MiC++ha]]></dc:creator><pubDate>Wed, 13 Oct 2004 10:17:48 GMT</pubDate></item><item><title><![CDATA[Reply to SetWindowLongPtr und SetWindowLong on Wed, 13 Oct 2004 10:41:15 GMT]]></title><description><![CDATA[<p>Achso.<br />
Geht das denn mit den Funktionen ohne ptr auch ? Weil das Update ist doch für Windows2000 bzw. Windows XP oder? Wie verhällt sich das denn dann mit älteren Windowsversionen?!</p>
]]></description><link>https://www.c-plusplus.net/forum/post/627535</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/627535</guid><dc:creator><![CDATA[fluxy]]></dc:creator><pubDate>Wed, 13 Oct 2004 10:41:15 GMT</pubDate></item><item><title><![CDATA[Reply to SetWindowLongPtr und SetWindowLong on Wed, 13 Oct 2004 11:21:18 GMT]]></title><description><![CDATA[<p>Die Funktionen sind ab Win95, sie unterstützen halt 64Bit.<br />
Du kannst auch SetWindowLong() (ohne ptr) verwenden, nur dann halt ohne 64Bit unterstützung</p>
]]></description><link>https://www.c-plusplus.net/forum/post/627566</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/627566</guid><dc:creator><![CDATA[MiC++ha]]></dc:creator><pubDate>Wed, 13 Oct 2004 11:21:18 GMT</pubDate></item></channel></rss>