Autor Beitrag
sprite-andre
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 22

WIN XP HOME
DELPHI 2006 ARCHITECT
BeitragVerfasst: Do 10.08.06 00:29 
Hallo!

Gibt es eine möglichkeit Programme mit einem bestimmten Wort im Titel zu beenden?

MfG: sprite


Moderiert von user profile iconChristian S.: Topic aus Dateizugriff verschoben am Do 10.08.2006 um 16:40
Born-to-Frag
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 1094

Win XP SP2, Win 2000 SP4
Delphi 7, 2k5
BeitragVerfasst: Do 10.08.06 00:50 

_________________
Theorie ist wenn man alles weiß, aber nichts funktioniert. Praxis ist wenn alles funktioniert, aber niemand weiß warum.
Microsoft vereint Theorie und Praxis: Nichts funktioniert und niemand weiß warum.
Raffo
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 300



BeitragVerfasst: Do 10.08.06 07:30 
Wenn der Titel "einmalig" ist, kannst du mit einem Timer über FindWindow() nach diesem Titel pollen. Wenn es aber nur ein Teilstring ist ( ... - Microsoft Internet Explorer) mussen erst alle Fensternamen gefunden werden. (so, wie mein WindowBlocker Freeware das macht).
Chryzler
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 1097
Erhaltene Danke: 2



BeitragVerfasst: Do 10.08.06 12:24 
Oder gleich einen Hook auf CreateProcessW :angel:
(Hab vorhin meinen ersten API-Hook hinbekommen)
uall@ogc
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 1826
Erhaltene Danke: 11

Win 2000 & VMware
Delphi 3 Prof, Delphi 7 Prof
BeitragVerfasst: Do 10.08.06 12:40 
Sowas macht man garantier nicht mit einem API hook.

Mach es so wie Raffo gesagt hat. Wenn du suchst solltest genug finden.

_________________
wer andern eine grube gräbt hat ein grubengrabgerät
- oder einfach zu viel zeit
evilsoft.de
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 39

XP
Delphi 7
BeitragVerfasst: Do 10.08.06 19:07 
user profile iconChryzler hat folgendes geschrieben:
Oder gleich einen Hook auf CreateProcessW :angel:
(Hab vorhin meinen ersten API-Hook hinbekommen)


Programme beenden mit CreateProcessW :mrgreen:
sprite-andre Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 22

WIN XP HOME
DELPHI 2006 ARCHITECT
BeitragVerfasst: Fr 11.08.06 19:12 
Also ich das von allen möglichkeiten nur FindWindow funtkioniert... :D

MfG: sprite