<?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[Wie bekomme ich den EXE-Namen der eigenen Anwendung?]]></title><description><![CDATA[<p>Ja die Frage sagt ja eigentlich schon alles. Ich brauche den Namen der Anwendung die diese Funktion ausführt. Weiß einer wie das geht? Danke schonmal!</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/229875/wie-bekomme-ich-den-exe-namen-der-eigenen-anwendung</link><generator>RSS for Node</generator><lastBuildDate>Fri, 10 Apr 2026 02:48:18 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/229875.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 17 Dec 2008 17:29:41 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Wie bekomme ich den EXE-Namen der eigenen Anwendung? on Wed, 17 Dec 2008 17:29:41 GMT]]></title><description><![CDATA[<p>Ja die Frage sagt ja eigentlich schon alles. Ich brauche den Namen der Anwendung die diese Funktion ausführt. Weiß einer wie das geht? Danke schonmal!</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1631978</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1631978</guid><dc:creator><![CDATA[Wie gehts?]]></dc:creator><pubDate>Wed, 17 Dec 2008 17:29:41 GMT</pubDate></item><item><title><![CDATA[Reply to Wie bekomme ich den EXE-Namen der eigenen Anwendung? on Wed, 17 Dec 2008 17:52:51 GMT]]></title><description><![CDATA[<p>The GetModuleFileName function retrieves the full path and filename for the executable file containing the specified module.</p>
<p>Windows 95: The GetModuleFilename function will return long filenames when an application's version number is greater than or equal to 4.00 and the long filename is available. Otherwise, it returns only 8.3 format filenames.</p>
<pre><code class="language-cpp">DWORD GetModuleFileName(

    HMODULE hModule,	// handle to module to find filename for --&gt; NULL für aufrufendes Modul
    LPTSTR lpFilename,	// pointer to buffer for module path 
    DWORD nSize 	// size of buffer, in characters 
   );
</code></pre>
]]></description><link>https://www.c-plusplus.net/forum/post/1631985</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1631985</guid><dc:creator><![CDATA[vlad_tepesch]]></dc:creator><pubDate>Wed, 17 Dec 2008 17:52:51 GMT</pubDate></item><item><title><![CDATA[Reply to Wie bekomme ich den EXE-Namen der eigenen Anwendung? on Wed, 17 Dec 2008 21:49:54 GMT]]></title><description><![CDATA[<blockquote>
<p>// handle to module to find filename for --&gt; NULL für aufrufendes Modul</p>
</blockquote>
<p>Nein, NULL für &quot;the module that was used to create the current process&quot; - also für das &quot;.exe file&quot;.<br />
Um an das &quot;aufrufende Modul&quot; zu kommen muss man einen etwas aufwändigeren Tanz veranstalten.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1632141</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1632141</guid><dc:creator><![CDATA[hustbaer]]></dc:creator><pubDate>Wed, 17 Dec 2008 21:49:54 GMT</pubDate></item><item><title><![CDATA[Reply to Wie bekomme ich den EXE-Namen der eigenen Anwendung? on Thu, 18 Dec 2008 15:49:53 GMT]]></title><description><![CDATA[<p><a href="http://msdn.microsoft.com/en-us/library/ms683197(VS.85).aspx" rel="nofollow">http://msdn.microsoft.com/en-us/library/ms683197(VS.85).aspx</a></p>
<blockquote>
<p>A handle to the loaded module whose path is being requested. If this parameter is NULL, GetModuleFileName retrieves the path of the executable file of the current process.</p>
</blockquote>
<blockquote>
<p>Wie bekomme ich den EXE-Namen der eigenen Anwendung?</p>
</blockquote>
<p>das ist doch das, was er will.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1632466</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1632466</guid><dc:creator><![CDATA[vlad_tepesch]]></dc:creator><pubDate>Thu, 18 Dec 2008 15:49:53 GMT</pubDate></item><item><title><![CDATA[Reply to Wie bekomme ich den EXE-Namen der eigenen Anwendung? on Thu, 18 Dec 2008 15:49:33 GMT]]></title><description><![CDATA[<p>das fragen wir dich weil du da oben müll von wegen aufrufendem modul gelabert hast.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1632469</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1632469</guid><dc:creator><![CDATA[schaafrichter]]></dc:creator><pubDate>Thu, 18 Dec 2008 15:49:33 GMT</pubDate></item><item><title><![CDATA[Reply to Wie bekomme ich den EXE-Namen der eigenen Anwendung? on Thu, 18 Dec 2008 15:50:22 GMT]]></title><description><![CDATA[<p>türlich türlich digger voll den beitrag editiert <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f44e.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--thumbs_down"
      title=":-1:"
      alt="👎"
    /></p>
]]></description><link>https://www.c-plusplus.net/forum/post/1632470</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1632470</guid><dc:creator><![CDATA[schaafrichter]]></dc:creator><pubDate>Thu, 18 Dec 2008 15:50:22 GMT</pubDate></item><item><title><![CDATA[Reply to Wie bekomme ich den EXE-Namen der eigenen Anwendung? on Thu, 18 Dec 2008 20:16:56 GMT]]></title><description><![CDATA[<p>sorry, ich hab zu spät gesehen, dass hustbaer, die selbe stelle zitiert hat, wie ich.<br />
und mein kommentar schnell noch mal geändert, da stand deine antwort noch nicht.</p>
<p>mit aufrufenden modul meinte ich das modul, dass die die funktion GetModulePath aufruft.<br />
Das sollte heißen: hier NULL übergeben, wenn man den eigenen Pfad ermitteln möchte.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1632584</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1632584</guid><dc:creator><![CDATA[vlad_tepesch]]></dc:creator><pubDate>Thu, 18 Dec 2008 20:16:56 GMT</pubDate></item></channel></rss>