<?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[CreateProcess: Unterschied zwischen ApplicationName und CommandLine]]></title><description><![CDATA[<p>Ich verstehe irgendwie nicht den Unterschied zwischen den Parametern 'lpApplicationName' und 'lpCommandLine' bei der Funktion CreateProcess Funktion. Kann mal jemand kurz darüber was erzählen? Wann benutzt man welchen Parameter?</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/160348/createprocess-unterschied-zwischen-applicationname-und-commandline</link><generator>RSS for Node</generator><lastBuildDate>Sat, 18 Jul 2026 03:51:41 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/160348.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 25 Sep 2006 07:29:09 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to CreateProcess: Unterschied zwischen ApplicationName und CommandLine on Mon, 25 Sep 2006 07:29:09 GMT]]></title><description><![CDATA[<p>Ich verstehe irgendwie nicht den Unterschied zwischen den Parametern 'lpApplicationName' und 'lpCommandLine' bei der Funktion CreateProcess Funktion. Kann mal jemand kurz darüber was erzählen? Wann benutzt man welchen Parameter?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1143759</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1143759</guid><dc:creator><![CDATA[Taurec]]></dc:creator><pubDate>Mon, 25 Sep 2006 07:29:09 GMT</pubDate></item><item><title><![CDATA[Reply to CreateProcess: Unterschied zwischen ApplicationName und CommandLine on Mon, 25 Sep 2006 07:34:40 GMT]]></title><description><![CDATA[<p><img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/27a1.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--right_arrow"
      title=":arrow_right:"
      alt="➡"
    /> <a href="http://support.microsoft.com/?scid=kb%3Ben-us%3B175986&amp;x=10&amp;y=16" rel="nofollow">http://support.microsoft.com/?scid=kb%3Ben-us%3B175986&amp;x=10&amp;y=16</a></p>
]]></description><link>https://www.c-plusplus.net/forum/post/1143764</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1143764</guid><dc:creator><![CDATA[link]]></dc:creator><pubDate>Mon, 25 Sep 2006 07:34:40 GMT</pubDate></item><item><title><![CDATA[Reply to CreateProcess: Unterschied zwischen ApplicationName und CommandLine on Mon, 25 Sep 2006 07:51:34 GMT]]></title><description><![CDATA[<p>Wenn Du unter &quot;ApplicationName&quot; was angibst, dann solltest Du nicht vergessen, genau das gleiche auch in CommandLine ganz am Anfang reinzuschreiben.<br />
Ich Rate immer: Lass ApplicationName auf NULL und verwende nur CommandLine.</p>
<p>Wenn Du Dokumente oder andere Dinge starten willst, verwenden ShellExecute</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1143777</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1143777</guid><dc:creator><![CDATA[Jochen Kalmbach]]></dc:creator><pubDate>Mon, 25 Sep 2006 07:51:34 GMT</pubDate></item><item><title><![CDATA[Reply to CreateProcess: Unterschied zwischen ApplicationName und CommandLine on Mon, 25 Sep 2006 10:04:14 GMT]]></title><description><![CDATA[<blockquote>
<p>Ich Rate immer: Lass ApplicationName auf NULL und verwende nur CommandLine.</p>
</blockquote>
<p>Wenn man dem Prozess keine Argumente übergeben braucht, warum sollte man dann CommandLine nutzen? Da muss man doch beachten das der Speicher auch beschreibbar ist und ist somit mehr Aufwand!?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1143905</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1143905</guid><dc:creator><![CDATA[hmmmmmmmm]]></dc:creator><pubDate>Mon, 25 Sep 2006 10:04:14 GMT</pubDate></item><item><title><![CDATA[Reply to CreateProcess: Unterschied zwischen ApplicationName und CommandLine on Mon, 25 Sep 2006 11:14:33 GMT]]></title><description><![CDATA[<p>hmmmmmmmm schrieb:</p>
<blockquote>
<blockquote>
<p>Ich Rate immer: Lass ApplicationName auf NULL und verwende nur CommandLine.</p>
</blockquote>
<p>Wenn man dem Prozess keine Argumente übergeben braucht, warum sollte man dann CommandLine nutzen?</p>
</blockquote>
<p>Das Problem ist nur, dass einige Programme davon ausgehen, dass als erstes Argument der eigene Prozess-Name auftaucht. Und dass ist dann eben nicht der Fall.</p>
<p>hmmmmmmmm schrieb:</p>
<blockquote>
<p>Da muss man doch beachten das der Speicher auch beschreibbar ist und ist somit mehr Aufwand!?</p>
</blockquote>
<p>Ja leider... ich verstehe bis heute nicht, warum das so (bescheuert) gemacht ist.</p>
<p>Auch waren alle Beispiele in der MSDN bisher falsch, wenn sie mit Unicode übersetzt wurden! Die Beispiele erzeugen (mit VC8 compiliert) haben immer eine Access-Violation erzeugt!</p>
<p>Es scheint so, dass sie dies endlich korrigiert haben und jetzt immer &quot;_tcsdup&quot; verwenden:<br />
<a href="http://msdn.microsoft.com/library/en-us/dllproc/base/creating_processes.asp" rel="nofollow">http://msdn.microsoft.com/library/en-us/dllproc/base/creating_processes.asp</a></p>
<p>(aber natürlich haben sie in den Beispielen jetzt ein &quot;free&quot; vergessen... naja, was solls...</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1143955</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1143955</guid><dc:creator><![CDATA[Jochen Kalmbach]]></dc:creator><pubDate>Mon, 25 Sep 2006 11:14:33 GMT</pubDate></item><item><title><![CDATA[Reply to CreateProcess: Unterschied zwischen ApplicationName und CommandLine on Mon, 25 Sep 2006 11:25:52 GMT]]></title><description><![CDATA[<p>Hmm, das verstehe ich nicht wirklich, denn:</p>
<blockquote>
<p>The lpCommandLine parameter can be NULL. In that case, the function uses the string pointed to by lpApplicationName as the command line.</p>
</blockquote>
]]></description><link>https://www.c-plusplus.net/forum/post/1143967</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1143967</guid><dc:creator><![CDATA[hmmmmmmmm]]></dc:creator><pubDate>Mon, 25 Sep 2006 11:25:52 GMT</pubDate></item><item><title><![CDATA[Reply to CreateProcess: Unterschied zwischen ApplicationName und CommandLine on Mon, 25 Sep 2006 11:52:36 GMT]]></title><description><![CDATA[<p>Das gilt aber nur, wenn Du bei commandLine NULL angibst! Wenn Du beide != NULL hast, musst Du darauf achten...</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1143987</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1143987</guid><dc:creator><![CDATA[Jochen Kalmbach]]></dc:creator><pubDate>Mon, 25 Sep 2006 11:52:36 GMT</pubDate></item><item><title><![CDATA[Reply to CreateProcess: Unterschied zwischen ApplicationName und CommandLine on Wed, 18 Oct 2006 13:51:11 GMT]]></title><description><![CDATA[<p>warum ändert eigentlich nur die unicode-version von CreateProcess den string?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1157136</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1157136</guid><dc:creator><![CDATA[prof]]></dc:creator><pubDate>Wed, 18 Oct 2006 13:51:11 GMT</pubDate></item></channel></rss>