<?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[Exe aus Exe aufrufen.]]></title><description><![CDATA[<p>Hallo allerseits,</p>
<p>ich weiß zwar nicht, ob ich mit meinem Problem hier richtig bin, aber ich versuchs einfach mal:</p>
<p>Ich möchte mit einer von mir programmierten EXE eine andere ausführbare Datei mit C++ aufrufen. Hab leider kein Befehl gefunden, mit dem ich das machen kann. Kann mir da mal jemand weiterhelfen??</p>
<p>Danke schonma!</p>
<p>Drea</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/101313/exe-aus-exe-aufrufen</link><generator>RSS for Node</generator><lastBuildDate>Wed, 29 Apr 2026 13:45:13 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/101313.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 15 Feb 2005 09:38:29 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Exe aus Exe aufrufen. on Tue, 15 Feb 2005 09:38:29 GMT]]></title><description><![CDATA[<p>Hallo allerseits,</p>
<p>ich weiß zwar nicht, ob ich mit meinem Problem hier richtig bin, aber ich versuchs einfach mal:</p>
<p>Ich möchte mit einer von mir programmierten EXE eine andere ausführbare Datei mit C++ aufrufen. Hab leider kein Befehl gefunden, mit dem ich das machen kann. Kann mir da mal jemand weiterhelfen??</p>
<p>Danke schonma!</p>
<p>Drea</p>
]]></description><link>https://www.c-plusplus.net/forum/post/723694</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/723694</guid><dc:creator><![CDATA[Drea]]></dc:creator><pubDate>Tue, 15 Feb 2005 09:38:29 GMT</pubDate></item><item><title><![CDATA[Reply to Exe aus Exe aufrufen. on Tue, 15 Feb 2005 09:39:15 GMT]]></title><description><![CDATA[<p>schau dich mal in der msdn nach</p>
<p>shellexcecute<br />
um.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/723695</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/723695</guid><dc:creator><![CDATA[elise]]></dc:creator><pubDate>Tue, 15 Feb 2005 09:39:15 GMT</pubDate></item><item><title><![CDATA[Reply to Exe aus Exe aufrufen. on Tue, 15 Feb 2005 09:53:16 GMT]]></title><description><![CDATA[<p>Und warum nicht</p>
<pre><code class="language-cpp">system(&quot;meine.exe&quot;);
</code></pre>
]]></description><link>https://www.c-plusplus.net/forum/post/723709</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/723709</guid><dc:creator><![CDATA[ness]]></dc:creator><pubDate>Tue, 15 Feb 2005 09:53:16 GMT</pubDate></item><item><title><![CDATA[Reply to Exe aus Exe aufrufen. on Tue, 15 Feb 2005 10:36:36 GMT]]></title><description><![CDATA[<p>Nehmen wir mal an, ich starte ein Programm, welches selbst Ausgaben auf stdout macht.</p>
<pre><code class="language-cpp">system(&quot;ls&quot;);
</code></pre>
<p>Wie komme ich an die Ausgaben dieses Programmes?<br />
Oder ginge das nur so:</p>
<pre><code class="language-cpp">#include &lt;iostream&gt;
#include &lt;string&gt;

using namespace std;
system(&quot;ls &gt; /tmp/ls_out&quot;);

ifstream in(&quot;/tmp/ls_out&quot;);
string text = in.read();
..
..
..
</code></pre>
]]></description><link>https://www.c-plusplus.net/forum/post/723766</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/723766</guid><dc:creator><![CDATA[hehejo]]></dc:creator><pubDate>Tue, 15 Feb 2005 10:36:36 GMT</pubDate></item><item><title><![CDATA[Reply to Exe aus Exe aufrufen. on Tue, 15 Feb 2005 10:40:27 GMT]]></title><description><![CDATA[<p>hehejo schrieb:</p>
<blockquote>
<p>Nehmen wir mal an, ich starte ein Programm, welches selbst Ausgaben auf stdout macht.</p>
<pre><code class="language-cpp">system(&quot;ls&quot;);
</code></pre>
<p>Wie komme ich an die Ausgaben dieses Programmes?</p>
</blockquote>
<p>mit system geht's meiner meinung nach nicht. unter win könnteste CreateProcess() nehmen und stdin/stdout über 'pipes' umleiten</p>
]]></description><link>https://www.c-plusplus.net/forum/post/723773</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/723773</guid><dc:creator><![CDATA[net 0]]></dc:creator><pubDate>Tue, 15 Feb 2005 10:40:27 GMT</pubDate></item><item><title><![CDATA[Reply to Exe aus Exe aufrufen. on Tue, 15 Feb 2005 10:51:41 GMT]]></title><description><![CDATA[<p>net schrieb:</p>
<blockquote>
<p>mit system geht's meiner meinung nach nicht. unter win könnteste CreateProcess() nehmen und stdin/stdout über 'pipes' umleiten</p>
</blockquote>
<p>Das Umleiten hatte ich schon mal unter Java gesehen.<br />
Am liebsten wäre mir halt kein windowsonly Lösung.<br />
Aber gut..</p>
]]></description><link>https://www.c-plusplus.net/forum/post/723787</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/723787</guid><dc:creator><![CDATA[hehejo]]></dc:creator><pubDate>Tue, 15 Feb 2005 10:51:41 GMT</pubDate></item><item><title><![CDATA[Reply to Exe aus Exe aufrufen. on Tue, 15 Feb 2005 11:02:55 GMT]]></title><description><![CDATA[<p>hehejo schrieb:</p>
<blockquote>
<p>Am liebsten wäre mir halt kein windowsonly Lösung.</p>
</blockquote>
<p>Durch die Verwendung von popen hättest du zumindest eine POSIX-konforme Lösung.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/723803</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/723803</guid><dc:creator><![CDATA[HumeSikkins]]></dc:creator><pubDate>Tue, 15 Feb 2005 11:02:55 GMT</pubDate></item><item><title><![CDATA[Reply to Exe aus Exe aufrufen. on Tue, 15 Feb 2005 11:29:38 GMT]]></title><description><![CDATA[<p>Danke erstmal!</p>
<p>Noch ne Zwischenfrage: Kann ich diesen Befehl (shellexecute) auch nutzen um eine Datei anzugeben, die mit der aufzurufenden exe gestartet werden soll? Wenn nein, wie mach ich das?</p>
<p>Gruß .. Drea</p>
]]></description><link>https://www.c-plusplus.net/forum/post/723831</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/723831</guid><dc:creator><![CDATA[Drea]]></dc:creator><pubDate>Tue, 15 Feb 2005 11:29:38 GMT</pubDate></item><item><title><![CDATA[Reply to Exe aus Exe aufrufen. on Tue, 15 Feb 2005 11:37:21 GMT]]></title><description><![CDATA[<p><a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/shellcc/platform/shell/reference/functions/shellexecute.asp" rel="nofollow">http://msdn.microsoft.com/library/default.asp?url=/library/en-us/shellcc/platform/shell/reference/functions/shellexecute.asp</a><br />
als parameter mit übergeben</p>
]]></description><link>https://www.c-plusplus.net/forum/post/723833</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/723833</guid><dc:creator><![CDATA[miller_m]]></dc:creator><pubDate>Tue, 15 Feb 2005 11:37:21 GMT</pubDate></item><item><title><![CDATA[Reply to Exe aus Exe aufrufen. on Tue, 15 Feb 2005 12:03:17 GMT]]></title><description><![CDATA[<p>HINSTANCE ShellExecute(<br />
HWND hwnd, //Fensterhandle<br />
LPCTSTR lpOperation, //Operation angeben hier: open<br />
LPCTSTR lpFile, //die ausführbare Datei (das Programm) angeben<br />
LPCTSTR lpParameters,<br />
LPCTSTR lpDirectory, //Default-Verzeichnis<br />
INT nShowCmd<br />
);</p>
<p>Hm, und wo kann ich da die zu öffnende Datei angeben?</p>
<p>Gruß Drea</p>
]]></description><link>https://www.c-plusplus.net/forum/post/723860</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/723860</guid><dc:creator><![CDATA[Drea]]></dc:creator><pubDate>Tue, 15 Feb 2005 12:03:17 GMT</pubDate></item><item><title><![CDATA[Reply to Exe aus Exe aufrufen. on Tue, 15 Feb 2005 12:11:38 GMT]]></title><description><![CDATA[<pre><code class="language-cpp">ShellExecute(hwnd, &quot;open&quot;, &quot;notepad.exe&quot;, &quot;main.cpp&quot;, NULL, SW_SHOWNORMAL);
</code></pre>
]]></description><link>https://www.c-plusplus.net/forum/post/723863</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/723863</guid><dc:creator><![CDATA[miller_m]]></dc:creator><pubDate>Tue, 15 Feb 2005 12:11:38 GMT</pubDate></item><item><title><![CDATA[Reply to Exe aus Exe aufrufen. on Tue, 15 Feb 2005 12:18:15 GMT]]></title><description><![CDATA[<p>Dieser Thread wurde von Moderator/in <a href="http://www.c-plusplus.net/forum/profile.php?mode=viewprofile&amp;u=403" rel="nofollow">HumeSikkins</a> aus dem Forum <a href="http://www.c-plusplus.net/forum/viewforum.php?f=15" rel="nofollow">C++</a> in das Forum <a href="http://www.c-plusplus.net/forum/viewforum.php?f=4" rel="nofollow">WinAPI</a> verschoben.</p>
<p>Im Zweifelsfall bitte auch folgende Hinweise beachten:<br />
<a href="http://www.c-plusplus.net/forum/viewtopic.php?t=39405" rel="nofollow">C/C++ Forum :: FAQ - Sonstiges :: Wohin mit meiner Frage?</a></p>
<p><em>Dieses Posting wurde automatisch erzeugt.</em></p>
]]></description><link>https://www.c-plusplus.net/forum/post/723867</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/723867</guid><dc:creator><![CDATA[C++ Forumbot]]></dc:creator><pubDate>Tue, 15 Feb 2005 12:18:15 GMT</pubDate></item><item><title><![CDATA[Reply to Exe aus Exe aufrufen. on Tue, 15 Feb 2005 13:17:23 GMT]]></title><description><![CDATA[<p>Ah danke,</p>
<p>hatte ich auch schon versucht aber es hat nicht funktioniert .. hatte wahrscheinlich nen falschen Pfad angegeben ... aber jetz gehts!</p>
<p>Drea</p>
]]></description><link>https://www.c-plusplus.net/forum/post/723926</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/723926</guid><dc:creator><![CDATA[Drea]]></dc:creator><pubDate>Tue, 15 Feb 2005 13:17:23 GMT</pubDate></item></channel></rss>