AGB  ·  Datenschutz  ·  Impressum  







Anmelden
Nützliche Links
Registrieren
Zurück Delphi-PRAXiS Programmierung allgemein Win32/Win64 API (native code) Delphi detect if a new process has started
Thema durchsuchen
Ansicht
Themen-Optionen

detect if a new process has started

Ein Thema von sheduler · begonnen am 9. Jan 2007 · letzter Beitrag vom 9. Jan 2007
Antwort Antwort
sheduler

Registriert seit: 9. Jan 2007
2 Beiträge
 
#1

detect if a new process has started

  Alt 9. Jan 2007, 17:50
How to detect if a new process or application has been started system wide? One way is to get then full list of processes and the just wait for changes. But it requires a timer, what I want to bypass... Maybe there are some other ways?
And the same with the active window. One way is to set Ontimer GetForeGroundWindow and just wait for it changes but again it takes much more cpu... Maybe here is an other answer too?
  Mit Zitat antworten Zitat
Benutzerbild von Zacherl
Zacherl

Registriert seit: 3. Sep 2004
4.629 Beiträge
 
Delphi 10.2 Tokyo Starter
 
#2

Re: detect if a new process has started

  Alt 9. Jan 2007, 17:53
Hi, have a look at API Hooks. You only have to hook the CreateProcess API.

Florian
Projekte:
- GitHub (Profil, zyantific)
- zYan Disassembler Engine ( Zydis Online, Zydis GitHub)
  Mit Zitat antworten Zitat
Olli
(Gast)

n/a Beiträge
 
#3

Re: detect if a new process has started

  Alt 9. Jan 2007, 18:09
For windows use just window hooks and catch the respective message to get notified of activation.

CreateProcess hooks may be nice but are ugly, not supposed to work on Vista and not sufficient if you want to catch any process start.
  Mit Zitat antworten Zitat
Antwort Antwort


Forumregeln

Es ist dir nicht erlaubt, neue Themen zu verfassen.
Es ist dir nicht erlaubt, auf Beiträge zu antworten.
Es ist dir nicht erlaubt, Anhänge hochzuladen.
Es ist dir nicht erlaubt, deine Beiträge zu bearbeiten.

BB-Code ist an.
Smileys sind an.
[IMG] Code ist an.
HTML-Code ist aus.
Trackbacks are an
Pingbacks are an
Refbacks are aus

Gehe zu:

Impressum · AGB · Datenschutz · Nach oben
Alle Zeitangaben in WEZ +1. Es ist jetzt 21:15 Uhr.
Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024 by Thomas Breitkreuz