<?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[Shellexecute auf Thread warten]]></title><description><![CDATA[<p>Hello!</p>
<p>In einer Funktion wir ein Unterprogramm mit ShellExecute aufgerufen:</p>
<p>ShellExecute(NULL, &quot;open&quot;, &quot;unterprogramm.exe&quot;, tmp, NULL, SW_SHOW);</p>
<p>Wie kann ich jetzt dem Hauptprogramm sagen, das er mit der weiterverarbeitung solange warten soll, bis das unterprogramm fertig ist?</p>
<p>Danke schonmal</p>
<p>google</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/207430/shellexecute-auf-thread-warten</link><generator>RSS for Node</generator><lastBuildDate>Sat, 25 Apr 2026 15:08:35 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/207430.rss" rel="self" type="application/rss+xml"/><pubDate>Fri, 07 Mar 2008 14:11:51 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Shellexecute auf Thread warten on Fri, 07 Mar 2008 14:11:51 GMT]]></title><description><![CDATA[<p>Hello!</p>
<p>In einer Funktion wir ein Unterprogramm mit ShellExecute aufgerufen:</p>
<p>ShellExecute(NULL, &quot;open&quot;, &quot;unterprogramm.exe&quot;, tmp, NULL, SW_SHOW);</p>
<p>Wie kann ich jetzt dem Hauptprogramm sagen, das er mit der weiterverarbeitung solange warten soll, bis das unterprogramm fertig ist?</p>
<p>Danke schonmal</p>
<p>google</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1470055</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1470055</guid><dc:creator><![CDATA[google]]></dc:creator><pubDate>Fri, 07 Mar 2008 14:11:51 GMT</pubDate></item><item><title><![CDATA[Reply to Shellexecute auf Thread warten on Fri, 07 Mar 2008 14:18:53 GMT]]></title><description><![CDATA[<p>hola</p>
<p>erstens gehoert das thema nicht nach C++, zweitens geht das glaub ich mit ShellExecute nicht.<br />
dafuer muesstest du den process mit CreateProcess starten. dann geht es.<br />
steht in dem winapi sdk schoen beschrieben.</p>
<p>Meep Meep</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1470058</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1470058</guid><dc:creator><![CDATA[Meep Meep]]></dc:creator><pubDate>Fri, 07 Mar 2008 14:18:53 GMT</pubDate></item><item><title><![CDATA[Reply to Shellexecute auf Thread warten on Fri, 07 Mar 2008 15:00:43 GMT]]></title><description><![CDATA[<p>Das sagt die MSDN dazu</p>
<blockquote>
<p>ShellExecute Function returns a value greater than 32 if successful, or an error value that is less than or equal to 32 otherwise. The following table lists the error values. The return value is cast as an HINSTANCE for backward compatibility with 16-bit Windows applications. It is not a true HINSTANCE, however. The only thing that can be done with the returned HINSTANCE is to cast it to an int and compare it with the value 32 or one of the error codes below.</p>
</blockquote>
<p>man kriegt als rueckgabewert nur einen FehlerCode und nicht die Prozess ID die man benoetigt um den Prozess abzufrgaen.</p>
<p>und <a href="http://www.goffconcepts.com/techarticles/development/cpp/createprocess.html" rel="nofollow">hier</a> hast dun ein Beispiel fuer CreateProcess womit du warten kannst bis deine Anwendung sich beendet hat.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1470077</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1470077</guid><dc:creator><![CDATA[O.G.Wrapper]]></dc:creator><pubDate>Fri, 07 Mar 2008 15:00:43 GMT</pubDate></item><item><title><![CDATA[Reply to Shellexecute auf Thread warten on Fri, 07 Mar 2008 17:34:30 GMT]]></title><description><![CDATA[<p>ShellExecuteEx reicht dafür auch schon.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1470178</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1470178</guid><dc:creator><![CDATA[Braunstein]]></dc:creator><pubDate>Fri, 07 Mar 2008 17:34:30 GMT</pubDate></item><item><title><![CDATA[Reply to Shellexecute auf Thread warten on Sat, 08 Mar 2008 13:50:07 GMT]]></title><description><![CDATA[<p>Dieser Thread wurde von Moderator/in <a href="http://www.c-plusplus.net/forum/profile-var-mode-is-viewprofile-and-u-is-403.html" rel="nofollow">HumeSikkins</a> aus dem Forum <a href="http://www.c-plusplus.net/forum/viewforum-var-f-is-15.html" rel="nofollow">C++</a> in das Forum <a href="http://www.c-plusplus.net/forum/viewforum-var-f-is-4.html" rel="nofollow">WinAPI</a> verschoben.</p>
<p>Im Zweifelsfall bitte auch folgende Hinweise beachten:<br />
<a href="http://www.c-plusplus.net/forum/viewtopic-var-t-is-39405.html" 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/1470522</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1470522</guid><dc:creator><![CDATA[C++ Forumbot]]></dc:creator><pubDate>Sat, 08 Mar 2008 13:50:07 GMT</pubDate></item></channel></rss>