Autor Beitrag
Yooda
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 68



BeitragVerfasst: Sa 17.01.04 12:22 
Hallöchen,

Ich bin gerade dabei einen screengrabber zu Programmieren und frage mich, ob man eine Möglichkeit hat auf das Starten neuer Anwendungen zu reagieren?

D.h. Kann man mit der eigenen Software den start von anderer Software feststellen? Wenn ja, weiss jemand wie?



Viele Grüsse

David

Moderiert von user profile iconPeter Lustig: Topic Verschoben
Luckie
Ehemaliges Mitglied
Erhaltene Danke: 1



BeitragVerfasst: Sa 17.01.04 13:08 
Éntweder ein Shell Hook und CreateProcess hooken oder regelmäßig einen SnapShot machen und jedes mal die Prozessliste überprüfen, ob ein Prozess dazu gekommen ist.

BTW was ist ein "Screengrabber"?
Yooda Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 68



BeitragVerfasst: Sa 17.01.04 13:17 
Ein Screengrabber macht regelmässig screenshots und speichert die Bilder zum Beispiel in einem Ordner.

Der Grund warum ich andere Programme belauschen möchte ist die Notwendigkeit die Screenshots nur dann zu machen, wenn Programme aktiv sind. Wenn der user surft, tippt, downloadet.
ixtreme
Gast
Erhaltene Danke: 1



BeitragVerfasst: Sa 17.01.04 14:34 
schau dir mal das demo dazu an!

www.datavis.ch/Thoma...s/EXECUTE-Hooker.zip

gruß

ixtreme.de
Yooda Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 68



BeitragVerfasst: Sa 17.01.04 15:17 
Ja, Danke !

Die Demo ist das was ich suche. Nur nehme ich an, dass ich die dll nicht für meine Zwecke nutzen kann. Ich würde es "am liebsten" alleine programmieren. bzw. Codeschnipsel übernehmen. Gibt es zufällig die Source der dll? :wink:


Viele Grüsse

David
toms
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 1099
Erhaltene Danke: 2



BeitragVerfasst: Sa 17.01.04 16:42 
Der Sourcecode der Dll ist ja dabei!
Yooda Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 68



BeitragVerfasst: Sa 17.01.04 16:52 
hmmm...

dann wäre es wirklich nett wenn mir jemand verraten würde, wie ich die mitcompilliere das diese sozusagen unter einem anderen namen läuft.


Viele Grüsse

David
toms
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 1099
Erhaltene Danke: 2



BeitragVerfasst: Sa 17.01.04 17:08 
Ändere in der ApiHook.dpr

ausblenden Delphi-Quelltext
1:
library APIHook;					


durch

ausblenden Delphi-Quelltext
1:
library Dein_Dll_Name;					


und speichere die Datei unter Dein_Dll_Name.Dll

Ersetze in uMain.pas

ausblenden Delphi-Quelltext
1:
2:
const
  DLL_NAME = 'APIHook.dll';


durch

ausblenden Delphi-Quelltext
1:
2:
const
  DLL_NAME = 'Dein_Dll_Name';
matze
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 4613
Erhaltene Danke: 24

XP home, prof
Delphi 2009 Prof,
BeitragVerfasst: Sa 17.01.04 17:21 
wie bekommt die DLL denn unter win 2000 nicht den start von apps mit ??

wenn ich im demo auf start hook klicke, und dann aus dem startmenü oder vom desktop ein proramm öffen kommt nicht die frage ob es gestartet werden soll. wenn ich die buttons in dem demo porggi nehme schon !

_________________
In the beginning was the word.
And the word was content-type: text/plain.
kad_we
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 78


D6; Turbo Delphi 2006
BeitragVerfasst: Sa 17.01.04 18:02 
@ matze genau das ist mir auch schon so gegangen, aber Application- Start abfangen, oder so( von mir) enthält einen Link mit einem Ereignis, das gestartet wird, wenn ein Prozess gestartet wird
Motzi
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 2931

XP Prof, Vista Business
D6, D2k5-D2k7 je Prof
BeitragVerfasst: Sa 17.01.04 18:09 
Per WMI geht das ganze einfacher und vor allem auch mit weniger Systemrechten.. hier hab ich schonmal was dazu gepostet...

_________________
gringo pussy cats - eef i see you i will pull your tail out by eets roots!
matze
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 4613
Erhaltene Danke: 24

XP home, prof
Delphi 2009 Prof,
BeitragVerfasst: So 18.01.04 12:43 
da meine frage am eigendlichen thema des topics vorbei geht, ab ich sie mal ausgelagert. www.delphi-forum.de/viewtopic.php?p=122507

_________________
In the beginning was the word.
And the word was content-type: text/plain.