Wie kann man ein Programm starten ohne das es in der Taskleiste erscheint?

Ein Tip aus dem Bytes And More Forum:

In den Quellcode der Applikation (Projekt -> Quellcode anzeigen) ist folgender Text (rot) mit aufzunehmen:

WINAPI WinMain(HINSTANCE, HINSTANCE, LPSTR, int)
{
 DWORD dwExStyle=GetWindowLong(Application->Handle,GWL_EXSTYLE);
       dwExStyle |= WS_EX_TOOLWINDOW;
       SetWindowLong(Application->Handle,GWL_EXSTYLE,dwExStyle);
	try
	{
		Application->Initialize();
		Application->CreateForm(__classid(TMain), &Main);
		Application->CreateForm(__classid(TProjekt), &Projekt);
		Application->CreateForm(__classid(TLaden), &Laden);
		Application->Run();
	}
	catch (Exception &exception)
	{
		Application->ShowException(&exception);
	}
	catch (...)
	{
		try
		{
			throw Exception("");
		}
		catch (Exception &exception)
		{
			Application->ShowException(&exception);
		}
	}
	return 0;
}

Dabei wird dem System erklärt, dass es sich um ein

Tool-Window handelt.

Zur Übersicht