<?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 klappt nicht!!! HILFE HILFE HILFE]]></title><description><![CDATA[<p>Ich versuche so einen Ping zu senden:</p>
<pre><code class="language-cpp">GetSystemDirectory(system, 2000); //Ermittle Windows Verzeichnis und schreibe in system    
strcpy (text,&quot;ping&quot;);
strcat (text,&quot; &quot;);
strcat (text,ip);
strcat (system,&quot; &quot;);
strcat (system,text);
ShellExecute(NULL,TEXT(&quot;open&quot;),TEXT(system),NULL,NULL,SW_HIDE);
</code></pre>
<p>Nur leider sehe ich nie was im TaskManager von der Ping.exe also scheint es nicht zu gehen was mache ich verkehrt und wer kann mir helfen?</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/187366/shellexecute-klappt-nicht-hilfe-hilfe-hilfe</link><generator>RSS for Node</generator><lastBuildDate>Sat, 04 Jul 2026 11:18:02 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/187366.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 18 Jul 2007 22:23:33 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to ShellExecute klappt nicht!!! HILFE HILFE HILFE on Wed, 18 Jul 2007 22:23:33 GMT]]></title><description><![CDATA[<p>Ich versuche so einen Ping zu senden:</p>
<pre><code class="language-cpp">GetSystemDirectory(system, 2000); //Ermittle Windows Verzeichnis und schreibe in system    
strcpy (text,&quot;ping&quot;);
strcat (text,&quot; &quot;);
strcat (text,ip);
strcat (system,&quot; &quot;);
strcat (system,text);
ShellExecute(NULL,TEXT(&quot;open&quot;),TEXT(system),NULL,NULL,SW_HIDE);
</code></pre>
<p>Nur leider sehe ich nie was im TaskManager von der Ping.exe also scheint es nicht zu gehen was mache ich verkehrt und wer kann mir helfen?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1328128</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1328128</guid><dc:creator><![CDATA[XxChIlLeRzZ]]></dc:creator><pubDate>Wed, 18 Jul 2007 22:23:33 GMT</pubDate></item><item><title><![CDATA[Reply to ShellExecute klappt nicht!!! HILFE HILFE HILFE on Thu, 19 Jul 2007 05:56:14 GMT]]></title><description><![CDATA[<p>Wenn Du ein Unicode Projekt hast, dann muss das in die Hose gehen, denn du castest den ANSI String system!</p>
<p>Was passiert wenn Du es so schreibst:</p>
<pre><code class="language-cpp">ShellExecute(NULL,TEXT(&quot;open&quot;),system,NULL,NULL,SW_HIDE);
</code></pre>
<p>Sollte der Compiler jetzt meckern, dann hast Du ein ANSI/UNICODE Problem..<br />
Verwende TCHAR!</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1328163</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1328163</guid><dc:creator><![CDATA[Martin Richter]]></dc:creator><pubDate>Thu, 19 Jul 2007 05:56:14 GMT</pubDate></item><item><title><![CDATA[Reply to ShellExecute klappt nicht!!! HILFE HILFE HILFE on Thu, 19 Jul 2007 09:23:49 GMT]]></title><description><![CDATA[<p>Ich schätze mal, es passiert das Gleiche, als wie wenn man ping.exe unter Start-&gt;Ausführen eingibt. Ping.exe ist ein Konsolenprogramm. Du musst erst di Eingabeaufforderung öffnen. Für ShellExecute bedeutet das, dass du cmd.exe als Programm angeben musst und ping.exe als Paramter. Eventuell brauchst du noch den Schalter /k oder so ähnlich für die cmd.exe:</p>
<p>cmd.exe /k ping.exe <a href="http://google.de" rel="nofollow">google.de</a></p>
]]></description><link>https://www.c-plusplus.net/forum/post/1328303</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1328303</guid><dc:creator><![CDATA[[[global:former_user]]]]></dc:creator><pubDate>Thu, 19 Jul 2007 09:23:49 GMT</pubDate></item></channel></rss>