<?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[Verstecktes Konsolenfenster - wie?]]></title><description><![CDATA[<p>Hallo!</p>
<p>Ich habe eine c++ Anwendung:</p>
<pre><code class="language-cpp">pragma hdrstop

#include &lt;iostream.h&gt;
//---------------------------------------------------------------------------

#pragma argsused
int main(int argc, char* argv[])
{
Sleep(20000);
system(&quot;z:/***.exe&quot;);
        return 0;
}
//---------------------------------------------------------------------------
</code></pre>
<p>wie kann ich machen, daß kein Konsolenfenster beim Start der exe sichtbar ist?</p>
<p>Danke schonmal im Vorraus!</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/97846/verstecktes-konsolenfenster-wie</link><generator>RSS for Node</generator><lastBuildDate>Sun, 12 Jul 2026 02:38:40 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/97846.rss" rel="self" type="application/rss+xml"/><pubDate>Fri, 14 Jan 2005 09:49:52 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Verstecktes Konsolenfenster - wie? on Fri, 14 Jan 2005 09:49:52 GMT]]></title><description><![CDATA[<p>Hallo!</p>
<p>Ich habe eine c++ Anwendung:</p>
<pre><code class="language-cpp">pragma hdrstop

#include &lt;iostream.h&gt;
//---------------------------------------------------------------------------

#pragma argsused
int main(int argc, char* argv[])
{
Sleep(20000);
system(&quot;z:/***.exe&quot;);
        return 0;
}
//---------------------------------------------------------------------------
</code></pre>
<p>wie kann ich machen, daß kein Konsolenfenster beim Start der exe sichtbar ist?</p>
<p>Danke schonmal im Vorraus!</p>
]]></description><link>https://www.c-plusplus.net/forum/post/695962</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/695962</guid><dc:creator><![CDATA[thunder1902]]></dc:creator><pubDate>Fri, 14 Jan 2005 09:49:52 GMT</pubDate></item><item><title><![CDATA[Reply to Verstecktes Konsolenfenster - wie? on Fri, 14 Jan 2005 09:58:11 GMT]]></title><description><![CDATA[<p>EDIT: Ups Frage nicht richtig gelesen - Posting gelöscht.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/695969</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/695969</guid><dc:creator><![CDATA[[[global:guest]]]]></dc:creator><pubDate>Fri, 14 Jan 2005 09:58:11 GMT</pubDate></item><item><title><![CDATA[Reply to Verstecktes Konsolenfenster - wie? on Fri, 14 Jan 2005 12:01:53 GMT]]></title><description><![CDATA[<p>Du musst eine Windowsanwendung erstellen und dort alles, was in der WinMain drinsteht, von wegen Fenster öffnen usw. rausnehmen, und da deinen Code einbauen... das ist die einzige mir bekannte Methode unter Windows... so läuft dein Programm quasi als Dienst... ist auch im TaskManager nur unter Prozesse aufgeführt.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/696087</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/696087</guid><dc:creator><![CDATA[Windoof]]></dc:creator><pubDate>Fri, 14 Jan 2005 12:01:53 GMT</pubDate></item><item><title><![CDATA[Reply to Verstecktes Konsolenfenster - wie? on Fri, 14 Jan 2005 12:33:58 GMT]]></title><description><![CDATA[<p>Also so hier:</p>
<pre><code class="language-cpp">#include &lt;windows.h&gt;
int WINAPI WinMain (HINSTANCE hThisInstance,
                    HINSTANCE hPrevInstance,
                    LPSTR lpszArgument,
                    int nFunsterStil)

{
    /* Hier dein Code */
    return 0;
}
</code></pre>
]]></description><link>https://www.c-plusplus.net/forum/post/696124</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/696124</guid><dc:creator><![CDATA[Windoof]]></dc:creator><pubDate>Fri, 14 Jan 2005 12:33:58 GMT</pubDate></item><item><title><![CDATA[Reply to Verstecktes Konsolenfenster - wie? on Fri, 14 Jan 2005 12:35:39 GMT]]></title><description><![CDATA[<p>Nö, geht noch einfacher:</p>
<p>[cpp]<br />
WINAPI WinMain(HINSTANCE, HINSTANCE, LPSTR, int)<br />
{<br />
try<br />
{<br />
<strong>DWORD dwExStyle=GetWindowLong(Application-&gt;Handle,GWL_EXSTYLE);<br />
dwExStyle |= WS_EX_TOOLWINDOW;<br />
SetWindowLong(Application-&gt;Handle,GWL_EXSTYLE,dwExStyle);</strong><br />
Application-&gt;Initialize();<br />
Application-&gt;Title = &quot;Lustiger Name&quot;;<br />
<strong>Application-&gt;ShowMainForm = false;</strong><br />
Application-&gt;CreateForm(__classid(TfrmMain), &amp;frmMain);<br />
Application-&gt;Run();<br />
}<br />
catch (Exception &amp;exception)<br />
{<br />
Application-&gt;ShowException(&amp;exception);<br />
}<br />
return 0;<br />
}<br />
[/cpp]</p>
]]></description><link>https://www.c-plusplus.net/forum/post/696126</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/696126</guid><dc:creator><![CDATA[F98]]></dc:creator><pubDate>Fri, 14 Jan 2005 12:35:39 GMT</pubDate></item><item><title><![CDATA[Reply to Verstecktes Konsolenfenster - wie? on Fri, 14 Jan 2005 13:03:28 GMT]]></title><description><![CDATA[<p>Er redet von Konsolenanwendungen, d.h. er wird wohl kaum mit der VCL programmieren...</p>
<p>EDIT: Außerdem ist deines nicht wirklich einfacher...</p>
]]></description><link>https://www.c-plusplus.net/forum/post/696129</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/696129</guid><dc:creator><![CDATA[Windoof]]></dc:creator><pubDate>Fri, 14 Jan 2005 13:03:28 GMT</pubDate></item><item><title><![CDATA[Reply to Verstecktes Konsolenfenster - wie? on Fri, 14 Jan 2005 13:14:51 GMT]]></title><description><![CDATA[<p>Falls Du das starten einer Konsolenanwendung meinst??:</p>
<pre><code>ShellExecute(NULL,&quot;open&quot;,&quot;Programname.exe&quot;,NULL,NULL,SW_HIDE)
</code></pre>
]]></description><link>https://www.c-plusplus.net/forum/post/696178</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/696178</guid><dc:creator><![CDATA[epidemic]]></dc:creator><pubDate>Fri, 14 Jan 2005 13:14:51 GMT</pubDate></item><item><title><![CDATA[Reply to Verstecktes Konsolenfenster - wie? on Fri, 14 Jan 2005 13:41:44 GMT]]></title><description><![CDATA[<p>Windoof schrieb:</p>
<blockquote>
<p>Er redet von Konsolenanwendungen, d.h. er wird wohl kaum mit der VCL programmieren...</p>
<p>EDIT: Außerdem ist deines nicht wirklich einfacher...</p>
</blockquote>
<p>Er will aber, dass das Konsolenfenster beim Start einer Konsolenanwendung nicht auf geht, und dass ist laut meinem Kenntnisstand nicht möglich. Also muss er eine VCL-Anwendung schreiben und das Main-Window verstecken.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/696212</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/696212</guid><dc:creator><![CDATA[F98]]></dc:creator><pubDate>Fri, 14 Jan 2005 13:41:44 GMT</pubDate></item><item><title><![CDATA[Reply to Verstecktes Konsolenfenster - wie? on Fri, 14 Jan 2005 14:36:00 GMT]]></title><description><![CDATA[<p>Da müsste er jetzt mal definieren, welches Fenster er verstecken will... meint er sein eigenes Programm oder das, was er aufruft? Meint er sein eigenes, würde ich eher von der VCL abraten und meine Lösung nehmen, will er andere Anwendungen verstecken, sollte er zur VCL greifen... das, was du machst, beinhaltet aber das Verstecken des eigenen Fensters... Apropos... soweit ich mich durch die BCB-Hilfe gearbeitet habe, will Windows ShellExecute bald nichtmehr unterstützen... dann hilft nurnoch &quot;system&quot; mit dem vollständigen Pfad...</p>
]]></description><link>https://www.c-plusplus.net/forum/post/696258</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/696258</guid><dc:creator><![CDATA[Windoof]]></dc:creator><pubDate>Fri, 14 Jan 2005 14:36:00 GMT</pubDate></item></channel></rss>