<?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[Problem mit Shellexecute]]></title><description><![CDATA[<p>Hallo,<br />
ich hab da nen kleines Programm geschrieben in dem sich auch Shellexecute befindet um (logischerweise) ein anderes Programm auszuführen...sieht so aus:</p>
<pre><code class="language-cpp">ShellExecute(NULL,&quot;open&quot;,&quot;\\Projekt\\Heizun~1\\Heizko~1\\Hydrau~1\\Ventil1.exe&quot;, &quot; &quot;,&quot;\\Projekt\\Heizun~1\\Heizko~1\\Hydrau~1\\&quot;,SW_SHOW);
</code></pre>
<p>Das ganze wird dann auf CD gebrannt. Natürlich wird auch der Pfad &quot;Projekt\Heizung\etc...&quot; draufgebrannt. Aber wenn ich dann das Prog von CD ausführ funktionierts zwar, aber es öffnet das andere Programm nicht.<br />
Kann mir da jemand helfen?</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/176501/problem-mit-shellexecute</link><generator>RSS for Node</generator><lastBuildDate>Sat, 11 Jul 2026 19:37:40 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/176501.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 21 Mar 2007 20:06:29 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Problem mit Shellexecute on Wed, 21 Mar 2007 20:07:04 GMT]]></title><description><![CDATA[<p>Hallo,<br />
ich hab da nen kleines Programm geschrieben in dem sich auch Shellexecute befindet um (logischerweise) ein anderes Programm auszuführen...sieht so aus:</p>
<pre><code class="language-cpp">ShellExecute(NULL,&quot;open&quot;,&quot;\\Projekt\\Heizun~1\\Heizko~1\\Hydrau~1\\Ventil1.exe&quot;, &quot; &quot;,&quot;\\Projekt\\Heizun~1\\Heizko~1\\Hydrau~1\\&quot;,SW_SHOW);
</code></pre>
<p>Das ganze wird dann auf CD gebrannt. Natürlich wird auch der Pfad &quot;Projekt\Heizung\etc...&quot; draufgebrannt. Aber wenn ich dann das Prog von CD ausführ funktionierts zwar, aber es öffnet das andere Programm nicht.<br />
Kann mir da jemand helfen?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1250065</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1250065</guid><dc:creator><![CDATA[Dingeling]]></dc:creator><pubDate>Wed, 21 Mar 2007 20:07:04 GMT</pubDate></item><item><title><![CDATA[Reply to Problem mit Shellexecute on Thu, 22 Mar 2007 09:13:33 GMT]]></title><description><![CDATA[<p>Hallo,</p>
<p>Du mußt halt den richtigen Pfad beim Start eintragen. Das sind doch bei dir relative Pfade. Also relativ zum Hauptprogramm.<br />
Du könntest daraus ja einen absoluten Pfad machen, indem du dir den Pfad deines Hauptprogrammes zur Laufzeit besorgst (argv[0] aus main, GetModulFileName() aus der WinAPI, boost::filesystem::initial_path() etc.).</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1250271</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1250271</guid><dc:creator><![CDATA[Braunstein]]></dc:creator><pubDate>Thu, 22 Mar 2007 09:13:33 GMT</pubDate></item><item><title><![CDATA[Reply to Problem mit Shellexecute on Thu, 22 Mar 2007 10:55:19 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/1250372</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1250372</guid><dc:creator><![CDATA[C++ Forumbot]]></dc:creator><pubDate>Thu, 22 Mar 2007 10:55:19 GMT</pubDate></item><item><title><![CDATA[Reply to Problem mit Shellexecute on Thu, 22 Mar 2007 22:13:28 GMT]]></title><description><![CDATA[<p>Ok, habs jetzt mit GetModuleFileName() und funktioniert wunderbar.</p>
<p>Ich danke dir!</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1250868</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1250868</guid><dc:creator><![CDATA[Dingeling]]></dc:creator><pubDate>Thu, 22 Mar 2007 22:13:28 GMT</pubDate></item></channel></rss>