Autor Beitrag
Harry M.
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 754

Win 2000, XP
D2005
BeitragVerfasst: Mi 25.05.05 21:45 
Hallo Leutz,

hier mal wieder ein Programm von mir.

TaskWatch 1.0

TaskWatch überwacht alle laufenden Prozesse des PC's. Wird ein Programm gestartet, bekommt der Anwender ein Konfigaratiosmenü in dem er wählen kann, ob dieser Prozeß nur in dieser Sitzung, immer, oder nie ausführt werden darf.

Screenshots:
www.8ung.at/projetil.../TaskWatch%20(1).jpg
www.8ung.at/projetil.../TaskWatch%20(2).jpg

Download:
www.8ung.at/projetilware/TaskWatch.rar (426kb)

Verbesserungsvorschläge sind wie immer willkommen.

_________________
Gruß Harry
Et spes me per dies sine te ducat et amor me ferat, si dolor spem tollit.
AXMD
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 4006
Erhaltene Danke: 7

Windows 10 64 bit
C# (Visual Studio 2019 Express)
BeitragVerfasst: Mi 25.05.05 23:11 
Prinzipiell nicht schlecht. Grundlegender Verbesserungsvorschlag: Windows-Standard-Design. Alles viel zu bunt und überzüchtet.

AXMD
retnyg
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 2754

SNES, GB, GBA, CPC, A500, 486/66, P4/3.0HT: NintendOS, AmigaOS, DoS
Delphi 5, Delphi 7
BeitragVerfasst: Do 26.05.05 17:41 
wie watcht denn dein programm die tasks ?
in dem es per timer alle paar sekunden überprüft welche prozesse laufen ?
da kann es dann halt leider oft zu spät sein

_________________
es gibt leute, die sind genetisch nicht zum programmieren geschaffen.
in der regel haben diese leute die regel...
Harry M. Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 754

Win 2000, XP
D2005
BeitragVerfasst: Do 26.05.05 17:56 
Ja es watcht im Timer. Sicher kann es dann schon zu spät sein aber ich denke vielmehr an die ständig laufende Programme als die, die eventuell durchrutschen weil sie nur für einen Bruchteil einer Sekunde aktiv sind. Ich habe aber schon zahlreiche Hinweise in der DP bekommen wo ich ansetzten muss, um des Process noch vor seiner Ausführung zu "bekommen".

_________________
Gruß Harry
Et spes me per dies sine te ducat et amor me ferat, si dolor spem tollit.
retnyg
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 2754

SNES, GB, GBA, CPC, A500, 486/66, P4/3.0HT: NintendOS, AmigaOS, DoS
Delphi 5, Delphi 7
BeitragVerfasst: Do 26.05.05 17:58 
der einzige weg den ich kenne, ist den API-Call von Suche im MSDN CREATEPROCESS zu hooken

_________________
es gibt leute, die sind genetisch nicht zum programmieren geschaffen.
in der regel haben diese leute die regel...
Harry M. Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 754

Win 2000, XP
D2005
BeitragVerfasst: Do 26.05.05 18:21 
Hier ist mal der Directlink: www.delphipraxis.net....php?p=372618#372618

_________________
Gruß Harry
Et spes me per dies sine te ducat et amor me ferat, si dolor spem tollit.
DarkLord05
ontopic starontopic starontopic starontopic starontopic starofftopic starofftopic starofftopic star
Beiträge: 449

WinXP Pro SP2
Opera; Delphi 3 Pro; Delphi 2005, Turbo Delphi, dev-c++, Eclipse, MS Visual Studio .NET 2003, MS Visual C++
BeitragVerfasst: Do 26.05.05 18:29 
Scheint ja nicht gerade unnütz zu sein das Prog. Hat was von ner Firewall^^ Nur gegen Programme.

Kann man die Programm die man einmal nicht zugelassen hat auch wieder aktivieren?
Harry M. Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 754

Win 2000, XP
D2005
BeitragVerfasst: Fr 27.05.05 02:25 
Sicher. Das Konfigurationsmenü sollte selbsterklärend sein - ich sage nur das Häcken vor dem Pathnamen bzw PopupMenü über der ListView.

_________________
Gruß Harry
Et spes me per dies sine te ducat et amor me ferat, si dolor spem tollit.
Benutzername
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 210

Win XP Pro
Delphi 7 PE, D2005 Prof. SSL
BeitragVerfasst: So 29.05.05 20:08 
Ich frag einfach mal ganz dreist, wie du das denn gemacht hast (im Groben)? :-)
Harry M. Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 754

Win 2000, XP
D2005
BeitragVerfasst: So 29.05.05 20:51 
Na einfach immer die laufenden Prozeße mit den bekannten abzugleichen. Oder was meinst Du?

_________________
Gruß Harry
Et spes me per dies sine te ducat et amor me ferat, si dolor spem tollit.
Benutzername
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 210

Win XP Pro
Delphi 7 PE, D2005 Prof. SSL
BeitragVerfasst: Mo 30.05.05 17:44 
Oh, ja, das klingt logisch :mrgreen:

Und wenn man einen Prozess "nicht zulässt", schießt du ihn einfach ab, oder?
Harry M. Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 754

Win 2000, XP
D2005
BeitragVerfasst: Mo 30.05.05 17:59 
Jo. Im Test hat es sogar mit Services funktioniert. Weil ich mir einfällt: Ich werde das aber um bauen, das der Service gestoppt nicht abgeschossen wird.

_________________
Gruß Harry
Et spes me per dies sine te ducat et amor me ferat, si dolor spem tollit.