<?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[Eigener Dateiname?]]></title><description><![CDATA[<p>Hey,</p>
<p>wie kann mein Programm hallo.exe herausfinden, dass es hallo.exe heißt?</p>
<p>Mit GetCurrentDirectory() kann man den Pfad herausfinden. Gibts sowas auch für die aktuelle Datei?</p>
<p>Vielen Dank</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/128657/eigener-dateiname</link><generator>RSS for Node</generator><lastBuildDate>Thu, 09 Jul 2026 14:30:17 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/128657.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 05 Dec 2005 21:03:42 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Eigener Dateiname? on Mon, 05 Dec 2005 21:03:42 GMT]]></title><description><![CDATA[<p>Hey,</p>
<p>wie kann mein Programm hallo.exe herausfinden, dass es hallo.exe heißt?</p>
<p>Mit GetCurrentDirectory() kann man den Pfad herausfinden. Gibts sowas auch für die aktuelle Datei?</p>
<p>Vielen Dank</p>
]]></description><link>https://www.c-plusplus.net/forum/post/935375</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/935375</guid><dc:creator><![CDATA[xindon]]></dc:creator><pubDate>Mon, 05 Dec 2005 21:03:42 GMT</pubDate></item><item><title><![CDATA[Reply to Eigener Dateiname? on Mon, 05 Dec 2005 21:57:20 GMT]]></title><description><![CDATA[<p><a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dllproc/base/getmodulefilename.asp" rel="nofollow">http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dllproc/base/getmodulefilename.asp</a></p>
]]></description><link>https://www.c-plusplus.net/forum/post/935412</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/935412</guid><dc:creator><![CDATA[...]]></dc:creator><pubDate>Mon, 05 Dec 2005 21:57:20 GMT</pubDate></item><item><title><![CDATA[Reply to Eigener Dateiname? on Tue, 06 Dec 2005 07:15:13 GMT]]></title><description><![CDATA[<pre><code class="language-cpp">TCHAR szExePath[2048];
GetModuleFileName(NULL, szExePath, 2048);
LPCTSTR szExeName = PathFindFileName(szExePath);
</code></pre>
]]></description><link>https://www.c-plusplus.net/forum/post/935458</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/935458</guid><dc:creator><![CDATA[Jochen Kalmbach]]></dc:creator><pubDate>Tue, 06 Dec 2005 07:15:13 GMT</pubDate></item><item><title><![CDATA[Reply to Eigener Dateiname? on Tue, 06 Dec 2005 15:32:55 GMT]]></title><description><![CDATA[<p>Jochen Kalmbach schrieb:</p>
<blockquote>
<pre><code class="language-cpp">TCHAR szExePath[2048];
GetModuleFileName(NULL, szExePath, 2048);
LPCTSTR szExeName = PathFindFileName(szExePath);
</code></pre>
</blockquote>
<p>Wow, sehr schön, funktioniert wunderbar.</p>
<p>Sollte noch erwähnt werden, dass man &quot;shlwapi.h&quot; einbinden und &quot;shlwapi.lib&quot; linken muss.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/935906</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/935906</guid><dc:creator><![CDATA[xindon]]></dc:creator><pubDate>Tue, 06 Dec 2005 15:32:55 GMT</pubDate></item></channel></rss>