<?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[Unsichtbares Programm]]></title><description><![CDATA[<p>Tag alle zusammen,<br />
ich habe folgendes Problem:<br />
Ich habe mit Borland C++ Builder eine Client-Server Anwendung geschrieben.<br />
Dabei soll die Clientanwendung auf den Clients nicht sichtbar sein.<br />
Sowohl nicht in der Taskleiste als auch nicht im Taskmanager unter &quot;Anwendungen&quot;.<br />
Das mit der Taskleiste habe ich von <a href="http://C-Ecke.de" rel="nofollow">C-Ecke.de</a> . Es sieht wie folgt aus:</p>
<p>DWORD dwExStyle=GetWindowLong(Application-&gt;Handle,GWL_EXSTYLE);<br />
dwExStyle |= WS_EX_TOOLWINDOW;<br />
SetWindowLong(Application-&gt;Handle,GWL_EXSTYLE,dwExStyle);</p>
<p>So, wie bekomme ich es jetzt hin, dass man im Taskmanager nichts sieht?<br />
Geht das überhaupt?</p>
<p>Wenn, dann bitte ich um eine kleine Erklärung, weil ich mich in WinAPI fast gar<br />
nicht auskenne.(Kann nur VCL und ein paar WinAPI Funktionen).</p>
<p>Danke schon mal im Vorraus.</p>
<p>Grüße und einen guten Rutsch ins Jahr 2005! <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f603.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--grinning_face_with_big_eyes"
      title=":D"
      alt="😃"
    /></p>
]]></description><link>https://www.c-plusplus.net/forum/topic/96336/unsichtbares-programm</link><generator>RSS for Node</generator><lastBuildDate>Sun, 26 Apr 2026 23:57:17 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/96336.rss" rel="self" type="application/rss+xml"/><pubDate>Fri, 31 Dec 2004 11:30:23 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Unsichtbares Programm on Fri, 31 Dec 2004 11:30:23 GMT]]></title><description><![CDATA[<p>Tag alle zusammen,<br />
ich habe folgendes Problem:<br />
Ich habe mit Borland C++ Builder eine Client-Server Anwendung geschrieben.<br />
Dabei soll die Clientanwendung auf den Clients nicht sichtbar sein.<br />
Sowohl nicht in der Taskleiste als auch nicht im Taskmanager unter &quot;Anwendungen&quot;.<br />
Das mit der Taskleiste habe ich von <a href="http://C-Ecke.de" rel="nofollow">C-Ecke.de</a> . Es sieht wie folgt aus:</p>
<p>DWORD dwExStyle=GetWindowLong(Application-&gt;Handle,GWL_EXSTYLE);<br />
dwExStyle |= WS_EX_TOOLWINDOW;<br />
SetWindowLong(Application-&gt;Handle,GWL_EXSTYLE,dwExStyle);</p>
<p>So, wie bekomme ich es jetzt hin, dass man im Taskmanager nichts sieht?<br />
Geht das überhaupt?</p>
<p>Wenn, dann bitte ich um eine kleine Erklärung, weil ich mich in WinAPI fast gar<br />
nicht auskenne.(Kann nur VCL und ein paar WinAPI Funktionen).</p>
<p>Danke schon mal im Vorraus.</p>
<p>Grüße und einen guten Rutsch ins Jahr 2005! <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f603.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--grinning_face_with_big_eyes"
      title=":D"
      alt="😃"
    /></p>
]]></description><link>https://www.c-plusplus.net/forum/post/683704</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/683704</guid><dc:creator><![CDATA[Red*C++*]]></dc:creator><pubDate>Fri, 31 Dec 2004 11:30:23 GMT</pubDate></item><item><title><![CDATA[Reply to Unsichtbares Programm on Fri, 31 Dec 2004 11:36:27 GMT]]></title><description><![CDATA[<p>du könntest einen dienst schreiben.</p>
<p>forensuche</p>
]]></description><link>https://www.c-plusplus.net/forum/post/683708</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/683708</guid><dc:creator><![CDATA[miller_m]]></dc:creator><pubDate>Fri, 31 Dec 2004 11:36:27 GMT</pubDate></item><item><title><![CDATA[Reply to Unsichtbares Programm on Fri, 31 Dec 2004 12:08:35 GMT]]></title><description><![CDATA[<p>Mit einem Dienst bekommt er dann aber Probleme dass selbiger keine Daten über das Netzwerk empfangen kann: <a href="http://www.delphipraxis.net/post292277.html#292277" rel="nofollow">http://www.delphipraxis.net/post292277.html#292277</a></p>
]]></description><link>https://www.c-plusplus.net/forum/post/683718</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/683718</guid><dc:creator><![CDATA[[[global:former_user]]]]></dc:creator><pubDate>Fri, 31 Dec 2004 12:08:35 GMT</pubDate></item><item><title><![CDATA[Reply to Unsichtbares Programm on Fri, 31 Dec 2004 12:48:08 GMT]]></title><description><![CDATA[<p>Hi Luckie,</p>
<p>ich habe deinen Link nicht gelesen und weiss auch nicht ob das mit Delphi zu tun<br />
hat. Aber &quot;C++&quot;-Dienste können definitiv Daten übers Netzwerk empfangen. Gibts<br />
in unserer Firma vielfach, wenn auch nicht von mir geschrieben <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f642.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--slightly_smiling_face"
      title=":)"
      alt="🙂"
    /></p>
<p>Für jemanden der &quot;keine&quot; Ahnung von WINAPI hat würd ich ne Implementierung als<br />
Dienst jedoch nicht unbedingt empfehlen.</p>
<p>mfg JJ</p>
]]></description><link>https://www.c-plusplus.net/forum/post/683749</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/683749</guid><dc:creator><![CDATA[John Doe]]></dc:creator><pubDate>Fri, 31 Dec 2004 12:48:08 GMT</pubDate></item><item><title><![CDATA[Reply to Unsichtbares Programm on Fri, 31 Dec 2004 12:55:35 GMT]]></title><description><![CDATA[<p>Nein, mit Delphi hat das nichts zu tun.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/683756</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/683756</guid><dc:creator><![CDATA[[[global:former_user]]]]></dc:creator><pubDate>Fri, 31 Dec 2004 12:55:35 GMT</pubDate></item><item><title><![CDATA[Reply to Unsichtbares Programm on Fri, 31 Dec 2004 13:32:25 GMT]]></title><description><![CDATA[<p>Aber wie schon gesagt, auch Dienst können Daten übers Netzwerk empfangen. <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f642.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--slightly_smiling_face"
      title=":)"
      alt="🙂"
    /></p>
<p>mfg JJ</p>
]]></description><link>https://www.c-plusplus.net/forum/post/683789</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/683789</guid><dc:creator><![CDATA[John Doe]]></dc:creator><pubDate>Fri, 31 Dec 2004 13:32:25 GMT</pubDate></item><item><title><![CDATA[Reply to Unsichtbares Programm on Fri, 31 Dec 2004 13:35:48 GMT]]></title><description><![CDATA[<p>Sonst wär der MySQL-Server Dienst für Windows recht unpopulär <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f609.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--winking_face"
      title=";)"
      alt="😉"
    /></p>
]]></description><link>https://www.c-plusplus.net/forum/post/683791</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/683791</guid><dc:creator><![CDATA[[[global:guest]]]]></dc:creator><pubDate>Fri, 31 Dec 2004 13:35:48 GMT</pubDate></item><item><title><![CDATA[Reply to Unsichtbares Programm on Fri, 31 Dec 2004 15:05:58 GMT]]></title><description><![CDATA[<p>Unsichtbare Programme</p>
<p>WinAPI:</p>
<pre><code class="language-cpp">#include &lt;windows.h&gt;

unsigned int HotKeyID1 = 100;
unsigned int HotKeyID2 = 101;

LRESULT CALLBACK WndProc (HWND hwnd, UINT message, WPARAM wParam, LPARAM lParam)
{
 switch (message)
 {
  case WM_HOTKEY:
    if(wParam == HotKeyID1) MessageBox(hwnd, &quot;Alt+Shift+F11 wurde gedrückt.&quot; , &quot;Nachricht WM_HOTKEY wurde erzeugt.&quot;, MB_OK);
    if(wParam == HotKeyID2) MessageBox(hwnd, &quot;Alt+Shift+F12 wurde gedrückt.&quot; , &quot;Nachricht WM_HOTKEY wurde erzeugt.&quot;, MB_OK);
  return 0;

  case WM_DESTROY:
    PostQuitMessage (0);
  return 0;
 }

 return DefWindowProc (hwnd, message, wParam, lParam);
}

int WINAPI WinMain (HINSTANCE hI, HINSTANCE hPrI, PSTR szCmdLine, int iCmdShow)
{
  char szName[] = &quot;MeineKlasse&quot;;
  HBRUSH MyBrush = CreateSolidBrush( RGB( 0, 150, 255 ) );
  WNDCLASS wc;
  MSG msg;

  wc.style         = CS_HREDRAW | CS_VREDRAW;
  wc.lpfnWndProc   = WndProc;
  wc.cbClsExtra    = 0;
  wc.cbWndExtra    = 0;
  wc.hInstance     = hI;
  wc.hIcon         = LoadIcon (NULL, IDI_WINLOGO);
  wc.hCursor       = 0;
  wc.hbrBackground = MyBrush;
  wc.lpszMenuName  = NULL;
  wc.lpszClassName = szName;

  RegisterClass (&amp;wc);

  HWND hwnd = CreateWindow (szName, &quot;&quot;, WS_POPUPWINDOW, 0, 0, 100, 100, NULL, NULL, hI, NULL);
  RegisterHotKey(hwnd, HotKeyID1, MOD_ALT | MOD_SHIFT, VK_F11);
  RegisterHotKey(hwnd, HotKeyID2, MOD_ALT | MOD_SHIFT, VK_F12);

  ShowWindow   (hwnd, iCmdShow);
  UpdateWindow (hwnd);

  while (GetMessage (&amp;msg, NULL, 0, 0))
  {
    TranslateMessage (&amp;msg);
    DispatchMessage  (&amp;msg);
  }
  return msg.wParam;
}

(100*100-Fenster siehe oben; Symbol in Taskleiste)

...
HWND hwnd = CreateWindow (szName, &quot;&quot;, WS_POPUPWINDOW, 0, 0, 0, 0, NULL, NULL, hI, NULL);
...

(Kein Fenster sichtbar; Symbol in Taskleiste)

HWND hwnd = CreateWindowEx (WS_EX_TOOLWINDOW, szName, &quot;&quot;, 0 , 0, 0, 100, 100, NULL, NULL, hI, NULL);

(100*100 Fenster sichtbar; Kein Symbol in Taskleiste)

HWND hwnd = CreateWindowEx (WS_EX_TOOLWINDOW, szName, &quot;&quot;, 0 , 0, 0, 0, 0, NULL, NULL, hI, NULL);
</code></pre>
<p>(Kein Fenster sichtbar; Kein Symbol in Taskleiste)</p>
<p>edit: sfds</p>
]]></description><link>https://www.c-plusplus.net/forum/post/683869</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/683869</guid><dc:creator><![CDATA[eh++]]></dc:creator><pubDate>Fri, 31 Dec 2004 15:05:58 GMT</pubDate></item><item><title><![CDATA[Reply to Unsichtbares Programm on Sat, 01 Jan 2005 10:53:00 GMT]]></title><description><![CDATA[<p>Hi,<br />
erst einmal vielen vielen Dank für die vielen Beiträge. Das mit dem Dienst schreiben, ok, aber ich blick WinApi wirklich nicht so gut.<br />
@ eh++<br />
Vielen Dank für den ausführlichen Code. Ich probier ihn einfach mal aus und versuche ihn zu verstehen. Ich hoffe dass es funktioniert!</p>
<p>Grüße und allen ein gutes neues Jahr 2005! <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f642.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--slightly_smiling_face"
      title=":)"
      alt="🙂"
    /></p>
]]></description><link>https://www.c-plusplus.net/forum/post/684112</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/684112</guid><dc:creator><![CDATA[Red*C++*]]></dc:creator><pubDate>Sat, 01 Jan 2005 10:53:00 GMT</pubDate></item><item><title><![CDATA[Reply to Unsichtbares Programm on Sat, 01 Jan 2005 12:02:58 GMT]]></title><description><![CDATA[<blockquote>
<p>ich blick WinApi wirklich nicht so gut.</p>
</blockquote>
<p><a href="http://www.henkessoft.de/api1.htm" rel="nofollow">http://www.henkessoft.de/api1.htm</a></p>
]]></description><link>https://www.c-plusplus.net/forum/post/684127</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/684127</guid><dc:creator><![CDATA[eh++]]></dc:creator><pubDate>Sat, 01 Jan 2005 12:02:58 GMT</pubDate></item><item><title><![CDATA[Reply to Unsichtbares Programm on Sun, 02 Jan 2005 10:26:57 GMT]]></title><description><![CDATA[<p>Cool, danke für den Link. Ich werde das mal durcharbeiten <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f603.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--grinning_face_with_big_eyes"
      title=":D"
      alt="😃"
    /></p>
]]></description><link>https://www.c-plusplus.net/forum/post/684639</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/684639</guid><dc:creator><![CDATA[Red*C++*]]></dc:creator><pubDate>Sun, 02 Jan 2005 10:26:57 GMT</pubDate></item></channel></rss>