<?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[Dateien benutzen, die immer in WINDOWS&#x5C;System32 liegen]]></title><description><![CDATA[<p>Wie kann ich gleich als Pfad den Windowssystemordner angeben??<br />
Da gibt es doch einen Befehl, irgendwie %system% oder so?!</p>
<p>Also das der auf jedem Rechner den Systemordner finden würde?!</p>
<p>Ich erkläre mal mein Problem genauer:</p>
<p>Mein Programm wird per Setup installiert...da kann Ordner ausgesucht werden das ist egal!</p>
<p>Es wird aber noch ein Ordner mit MP3s IMMER in den Windowssystem (WINDOWS\System32, in den UNterornder EE) installiert!</p>
<p>Und mein Programm, soll IMMER auf diesen Ordner zugreifen, wenn die MP3s gespielt werden sollen!</p>
<p>Ich könnte wohl den Pfad im Programm auch als c:\\WINDOWS\\System32\\EE angeben, aber das ist ja dann fest!</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/124399/dateien-benutzen-die-immer-in-windows-system32-liegen</link><generator>RSS for Node</generator><lastBuildDate>Tue, 07 Jul 2026 12:42:29 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/124399.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 27 Oct 2005 09:20:59 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Dateien benutzen, die immer in WINDOWS&#x5C;System32 liegen on Thu, 27 Oct 2005 09:20:59 GMT]]></title><description><![CDATA[<p>Wie kann ich gleich als Pfad den Windowssystemordner angeben??<br />
Da gibt es doch einen Befehl, irgendwie %system% oder so?!</p>
<p>Also das der auf jedem Rechner den Systemordner finden würde?!</p>
<p>Ich erkläre mal mein Problem genauer:</p>
<p>Mein Programm wird per Setup installiert...da kann Ordner ausgesucht werden das ist egal!</p>
<p>Es wird aber noch ein Ordner mit MP3s IMMER in den Windowssystem (WINDOWS\System32, in den UNterornder EE) installiert!</p>
<p>Und mein Programm, soll IMMER auf diesen Ordner zugreifen, wenn die MP3s gespielt werden sollen!</p>
<p>Ich könnte wohl den Pfad im Programm auch als c:\\WINDOWS\\System32\\EE angeben, aber das ist ja dann fest!</p>
]]></description><link>https://www.c-plusplus.net/forum/post/901763</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/901763</guid><dc:creator><![CDATA[Windowsverzeichnis]]></dc:creator><pubDate>Thu, 27 Oct 2005 09:20:59 GMT</pubDate></item><item><title><![CDATA[Reply to Dateien benutzen, die immer in WINDOWS&#x5C;System32 liegen on Thu, 27 Oct 2005 09:35:44 GMT]]></title><description><![CDATA[<p>Hallo,</p>
<p>Das geht z.Bsp. über WinAPI</p>
<pre><code class="language-cpp">LPITEMIDLIST  pidl;
    LPMALLOC      pShellMalloc;
    char          szDir[MAX_PATH];

    AnsiString SystemFolder;
    if(SUCCEEDED(SHGetMalloc(&amp;pShellMalloc)))
    {
        HRESULT hdres = SHGetSpecialFolderLocation(NULL, CSIDL_SYSTEM, &amp;pidl);
        if(hdres == S_OK)
        {
            if(SHGetPathFromIDList(pidl, szDir))
            {
                SystemFolder = szDir;
            }
            pShellMalloc-&gt;Free(pidl);
        }
        pShellMalloc-&gt;Release();
    }
</code></pre>
<p>siehe auch in der MSDN<br />
<a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/shellcc/platform/shell/reference/functions/shgetspecialfolderlocation.asp" rel="nofollow">SHGetSpecialFolderLocation</a></p>
]]></description><link>https://www.c-plusplus.net/forum/post/901774</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/901774</guid><dc:creator><![CDATA[Braunstein]]></dc:creator><pubDate>Thu, 27 Oct 2005 09:35:44 GMT</pubDate></item><item><title><![CDATA[Reply to Dateien benutzen, die immer in WINDOWS&#x5C;System32 liegen on Thu, 27 Oct 2005 09:38:53 GMT]]></title><description><![CDATA[<p>und bitte keine Crossposts<br />
<a href="http://www.c-plusplus.net/forum/viewtopic-var-t-is-124395.html" rel="nofollow">http://www.c-plusplus.net/forum/viewtopic-var-t-is-124395.html</a></p>
]]></description><link>https://www.c-plusplus.net/forum/post/901776</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/901776</guid><dc:creator><![CDATA[Braunstein]]></dc:creator><pubDate>Thu, 27 Oct 2005 09:38:53 GMT</pubDate></item><item><title><![CDATA[Reply to Dateien benutzen, die immer in WINDOWS&#x5C;System32 liegen on Thu, 27 Oct 2005 11:58:57 GMT]]></title><description><![CDATA[<p>Windowsverzeichnis schrieb:</p>
<blockquote>
<p>Es wird aber noch ein Ordner mit MP3s IMMER in den Windowssystem (WINDOWS\System32, in den UNterornder EE) installiert!</p>
</blockquote>
<p>mal abgesehen von deinem problem, hat dein mp3-ordner nichts im windows-system-verzeichnis verloren! wäre doch viel einfacher, den ordner im installationsverzeichnis deines programms anzulegen und zu zugreifen.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/901893</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/901893</guid><dc:creator><![CDATA[Sunday]]></dc:creator><pubDate>Thu, 27 Oct 2005 11:58:57 GMT</pubDate></item><item><title><![CDATA[Reply to Dateien benutzen, die immer in WINDOWS&#x5C;System32 liegen on Fri, 28 Oct 2005 14:04:11 GMT]]></title><description><![CDATA[<p>Weiter in WinAPI (s.o.).</p>
]]></description><link>https://www.c-plusplus.net/forum/post/902824</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/902824</guid><dc:creator><![CDATA[Jansen]]></dc:creator><pubDate>Fri, 28 Oct 2005 14:04:11 GMT</pubDate></item></channel></rss>