Autor Beitrag
DOCa Cola
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 64

Vista x64
D2007
BeitragVerfasst: Di 20.09.05 16:48 
ich schreibe an einem hintergrundprogramm, welches überwacht, ob eine bestimmte cd eingelegt wird und zeigt daraufhin ein fenster.
ich möchte keinen virus oder wurm oder sonstwas schreiben. ich möchte nur nicht, dass es in diesem tab hier sichtbar ist
user defined image
in dem echten processes tab darf es natürlich vorhanden sein. unter windows 98 wäre es mir auch recht, wenn der prozess dort im taskmanager noch sichtbar wäre, nur stört es mich, dass mein prozess unter windows 2000/xp vom taskmanager so behandelt würde, als hätte mein programm ein immer sichtbares fenster

gruß DOCa Cola
Fabian W.
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 1766

Win 7
D7 PE
BeitragVerfasst: Di 20.09.05 16:53 
Also, wenn du alle Forms deines Progs hidest, verschwindet der Eintrag in der Taskleiste sowei im Tasklmanager, der Process ist jedoch weiterhin sichtbar. Das is doch das was du möchtest?
Wenn dann ein Fenster angezeigt wird (weil CD drinne) dann siehst du das prog auch widder im Tsakmanager und in der -Leiste.
DOCa Cola Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 64

Vista x64
D2007
BeitragVerfasst: Di 20.09.05 17:07 
für die taskleiste habe ich bereits code gefunden um sie davor zu verstecken, das programm ist auch komplett nicht sichtbar ausser im taskmanager ;)
maxk
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 1696
Erhaltene Danke: 1

Win XP, Debian Lenny
Delphi 6 Personal
BeitragVerfasst: Di 20.09.05 20:29 
Wie versteckst du denn? Mittels ShowWindow(Application.Handle, SW_HIDE); sollte es eigentlich gehen! Wenn es in FormCreate steht, geht es nicht. Wenn du es erst später aufrufst, funzt es :D

Gruß,
maxk

_________________
Ein Computer wird das tun, was Du programmierst - nicht das, was Du willst.
Insignificant
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 81



BeitragVerfasst: Mo 10.04.06 00:06 
Hi. Ich möchte eigentlich das gleiche bezwecken mit dem Unterschied das meine Anwendung jedoch sichtbar ist. Wie ist es möglich diese dennoch vor dem Taskmanager zu verstekcen. (In den Prozessen soll es natürlich noch angezeigt werden).
Fabian W.
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 1766

Win 7
D7 PE
BeitragVerfasst: Di 11.04.06 16:00 
Wenn keines deiner Fenster mehr sichtbar ist (bei jedem Fenster .hide) wird dein Progg weder in der Taskleiste noch im -Manager aufgeführt, den Prozess sieht man aber ;-)
Marco D.
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 2750

Windows Vista
Delphi 7, Delphi 2005 PE, PHP 4 + 5 (Notepad++), Java (Eclipse), XML, XML Schema, ABAP, ABAP OO
BeitragVerfasst: Di 11.04.06 16:11 
Darf ich das mal hier einwerfen?
ausblenden Delphi-Quelltext
1:
application.showmainform:=false;					

Damit geschieht dass, was Fabian erwähnt hatte.

Ich hatte irgendwo mal eine Funktion, um auch den Prozessnamen auszublenden. Allerdings melden sich da ständig die Virenscanner :zwinker:

_________________
Pascal keeps your hand tied. C gives you enough rope to hang yourself. C++ gives you enough rope to shoot yourself in the foot