<?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[Datei ausführen]]></title><description><![CDATA[<p>Hallo,<br />
nutze den Borland C++ Builder 2006.<br />
Ich möchte eine Datei (*.exe bzw. *.chm) welche im gleichen Ordner wie das Programm liegt, durh den Quelltext aufrufen und damit starten lasse.<br />
Kann mir da eines weiterhelfen?</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/173918/datei-ausführen</link><generator>RSS for Node</generator><lastBuildDate>Fri, 14 Aug 2026 15:52:49 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/173918.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 21 Feb 2007 10:08:37 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Datei ausführen on Wed, 21 Feb 2007 10:08:37 GMT]]></title><description><![CDATA[<p>Hallo,<br />
nutze den Borland C++ Builder 2006.<br />
Ich möchte eine Datei (*.exe bzw. *.chm) welche im gleichen Ordner wie das Programm liegt, durh den Quelltext aufrufen und damit starten lasse.<br />
Kann mir da eines weiterhelfen?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1232447</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1232447</guid><dc:creator><![CDATA[Momo]]></dc:creator><pubDate>Wed, 21 Feb 2007 10:08:37 GMT</pubDate></item><item><title><![CDATA[Reply to Datei ausführen on Wed, 21 Feb 2007 10:15:12 GMT]]></title><description><![CDATA[<p>Hallo</p>
<p>Suchbegriff : <em>*ShellExecute*</em></p>
<p>bis bald<br />
akari</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1232452</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1232452</guid><dc:creator><![CDATA[akari]]></dc:creator><pubDate>Wed, 21 Feb 2007 10:15:12 GMT</pubDate></item><item><title><![CDATA[Reply to Datei ausführen on Wed, 21 Feb 2007 10:16:24 GMT]]></title><description><![CDATA[<p>Hi,</p>
<p>Siehe Hilfe zum Thema <em>ShellExecute</em>, oder <em>CreateProcess</em></p>
<p>mfg, Micha!</p>
<p>//zu spät <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f61e.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--disappointed_face"
      title=":("
      alt="😞"
    /></p>
]]></description><link>https://www.c-plusplus.net/forum/post/1232453</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1232453</guid><dc:creator><![CDATA[[[global:guest]]]]></dc:creator><pubDate>Wed, 21 Feb 2007 10:16:24 GMT</pubDate></item><item><title><![CDATA[Reply to Datei ausführen on Wed, 21 Feb 2007 10:20:13 GMT]]></title><description><![CDATA[<p>Habe das schon ausprobiert gehabt:</p>
<pre><code class="language-cpp">ShellExecute(0, &quot;open&quot; , static_cast&lt;const char*&gt;(HelpPath.data()), NULL, NULL, SW_SHOWNORMAL);
</code></pre>
<p>Leider nutzen eingige verschiedene Betriebssysteme. So kann ich mit dem &quot;open&quot;nur unter Win XP, und Win98 arbeiten. Win 2000 benötigt &quot;used&quot; als Übergabeparameter.<br />
Das wäre zu undurchsichtig in der Programmierung.<br />
Gibt es noch eine Andere Lösung?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1232456</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1232456</guid><dc:creator><![CDATA[Momo]]></dc:creator><pubDate>Wed, 21 Feb 2007 10:20:13 GMT</pubDate></item><item><title><![CDATA[Reply to Datei ausführen on Wed, 21 Feb 2007 10:24:53 GMT]]></title><description><![CDATA[<p>Wieso wäre das zu undurchsichtig? Du kannst doch die Betriebssystemversion abfragen und dementsprechend used oder open übergeben.<br />
Oder Du rufst die Funktion mit open auf, wenn das nicht klappt (Rückgabewert beachten), dann machst Du es noch einmal mit used.</p>
<p>Gruß,<br />
Christian</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1232459</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1232459</guid><dc:creator><![CDATA[Christian Sonder]]></dc:creator><pubDate>Wed, 21 Feb 2007 10:24:53 GMT</pubDate></item><item><title><![CDATA[Reply to Datei ausführen on Wed, 21 Feb 2007 10:28:59 GMT]]></title><description><![CDATA[<p>Hallo</p>
<blockquote>
<p>Habe das schon ausprobiert gehabt...</p>
</blockquote>
<p>Und warum hast du das nicht gleich im ersten Post erwähnt?</p>
<blockquote>
<p>Win 2000 benötigt &quot;used&quot; als Übergabeparameter.</p>
</blockquote>
<p>So ein Quatsch. Wo hast du denn das her? Ich habe ShellExecute sehr wohl schon unter Win2000 erfolgreich mit &quot;open&quot; eingesetzt. Auch die <a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/shellcc/platform/shell/reference/functions/shellexecute.asp" rel="nofollow">MSDN</a> sagt eindeutig</p>
<blockquote>
<p>Minimum operating systems Windows NT 3.1, Windows 95</p>
</blockquote>
<p>, und dort steht bei den möglichen Parametern für &quot;lpOperation&quot; <strong>kein</strong> &quot;used&quot;.</p>
<p>bis bakd<br />
akari</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1232461</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1232461</guid><dc:creator><![CDATA[akari]]></dc:creator><pubDate>Wed, 21 Feb 2007 10:28:59 GMT</pubDate></item></channel></rss>