<?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[Desktop Pfad herausfinden]]></title><description><![CDATA[<p>gibts es einen simple routine um den Pfad zum Desktop heraus zu finden, die auf w98 und nt-basierten systemen gleichermaßen funktioniert?</p>
<p>danke!</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/134492/desktop-pfad-herausfinden</link><generator>RSS for Node</generator><lastBuildDate>Sat, 11 Jul 2026 21:52:15 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/134492.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 26 Jan 2006 13:29:28 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Desktop Pfad herausfinden on Thu, 26 Jan 2006 13:29:28 GMT]]></title><description><![CDATA[<p>gibts es einen simple routine um den Pfad zum Desktop heraus zu finden, die auf w98 und nt-basierten systemen gleichermaßen funktioniert?</p>
<p>danke!</p>
]]></description><link>https://www.c-plusplus.net/forum/post/976937</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/976937</guid><dc:creator><![CDATA[Sakron]]></dc:creator><pubDate>Thu, 26 Jan 2006 13:29:28 GMT</pubDate></item><item><title><![CDATA[Reply to Desktop Pfad herausfinden on Thu, 26 Jan 2006 19:49:52 GMT]]></title><description><![CDATA[<p>In der Registry suchen.<br />
z.B: HKCU\software\microsoft\windows\currentversion\explorer\shell folders</p>
]]></description><link>https://www.c-plusplus.net/forum/post/977307</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/977307</guid><dc:creator><![CDATA[qasdfgh]]></dc:creator><pubDate>Thu, 26 Jan 2006 19:49:52 GMT</pubDate></item><item><title><![CDATA[Reply to Desktop Pfad herausfinden on Thu, 26 Jan 2006 19:54:27 GMT]]></title><description><![CDATA[<p>SHGetSpecialFolderPath mit CSIDL_DESKTOPDIRECTORY</p>
]]></description><link>https://www.c-plusplus.net/forum/post/977313</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/977313</guid><dc:creator><![CDATA[Jochen Kalmbach]]></dc:creator><pubDate>Thu, 26 Jan 2006 19:54:27 GMT</pubDate></item><item><title><![CDATA[Reply to Desktop Pfad herausfinden on Thu, 26 Jan 2006 19:55:43 GMT]]></title><description><![CDATA[<p>Bitte nicht über die Registry, wenn es dafür API Funktionen gibt. Wer weiß, ob der Eintrag bei der nächsten Windowsversion da auch noch steht.</p>
<p>SHGetFolderPath oder SHGetSpecialFolderPath oder SHGetSpecialFolderLocation.</p>
<p>Vieleicht kan mal jemand erklären, warum es da so viele Funktionen gibt. <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f615.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--confused_face"
      title=":confused:"
      alt="😕"
    /></p>
]]></description><link>https://www.c-plusplus.net/forum/post/977315</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/977315</guid><dc:creator><![CDATA[Gast Luckie]]></dc:creator><pubDate>Thu, 26 Jan 2006 19:55:43 GMT</pubDate></item><item><title><![CDATA[Reply to Desktop Pfad herausfinden on Thu, 26 Jan 2006 20:19:42 GMT]]></title><description><![CDATA[<p>Der Grund liegt in der (wirklich tollen (ernstgemeint)) kompatibilität der APIs!</p>
<p>Das folgende liefert einen Pfad:<br />
SHGetFolderPath (ab shell v5)<br />
- SHGetSpecialFolderPath (ab shell v4.71)<br />
(hier gibt es auch noch Probleme mit alten DLLs (SHFolder.dll))<br />
(in der Doku steht auch irgendwas, dass es nur bestimmte CLSIDs kann... konnte ich jetzt aber nicht Nachvollziehen...)</p>
<p>Das folgende liefert eine &quot;ITEMIDLIST&quot;:<br />
SHGetFolderLocation (ab shell v5)<br />
- SHGetSpecialFolderLocation (ab shell v4)<br />
Das kannst Du dann mittels<br />
SHGetPathFromIDList<br />
in einen richtigen Pfad umwandeln...</p>
<p>Weitere Infos siehe:<br />
The Shell Namespace<br />
<a href="http://msdn.microsoft.com/library/en-us/shellcc/platform/shell/programmersguide/shell_basics/namespace.asp" rel="nofollow">http://msdn.microsoft.com/library/en-us/shellcc/platform/shell/programmersguide/shell_basics/namespace.asp</a></p>
<p>Getting a Folder's ID<br />
<a href="http://msdn.microsoft.com/library/en-us/shellcc/platform/shell/programmersguide/shell_basics/shell_basics_programming/folder_id.asp" rel="nofollow">http://msdn.microsoft.com/library/en-us/shellcc/platform/shell/programmersguide/shell_basics/shell_basics_programming/folder_id.asp</a></p>
]]></description><link>https://www.c-plusplus.net/forum/post/977364</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/977364</guid><dc:creator><![CDATA[Jochen Kalmbach]]></dc:creator><pubDate>Thu, 26 Jan 2006 20:19:42 GMT</pubDate></item><item><title><![CDATA[Reply to Desktop Pfad herausfinden on Thu, 26 Jan 2006 20:51:16 GMT]]></title><description><![CDATA[<p>Herzlichen Dank für die Erklärungen und die Links!<img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f44d.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--thumbs_up"
      title=":+1:"
      alt="👍"
    /></p>
]]></description><link>https://www.c-plusplus.net/forum/post/977425</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/977425</guid><dc:creator><![CDATA[Sakron]]></dc:creator><pubDate>Thu, 26 Jan 2006 20:51:16 GMT</pubDate></item></channel></rss>