Autor Beitrag
Killmag10
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 297

Suse Linux / DOS / Windows All In One ;)
D4 / D2005
BeitragVerfasst: Di 07.12.04 12:36 
Hi

Wie kann ich herausfinden ob eine EXE geöffnet ist ?


sagen wir ich habe 1.exe und 2.exe

nun möschte ich mit 1.exe überprüfen ob 2.exe schon gestartet ist.

mfg. Killmag10

_________________
Mega-inkompetente Computer-ruinierende Organisation spioniert ohne funktionierende Technik
herzi
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 168

WINXP pro, SUSE Linux 9.0
D7 Pers.
BeitragVerfasst: Di 07.12.04 12:57 
Überprüf doch alle laufenden Prozesse nach der Exe.
neojones
ontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic starofftopic star
Beiträge: 1206
Erhaltene Danke: 1



BeitragVerfasst: Di 07.12.04 12:59 

_________________
Ha! Es compiliert! Wir können ausliefern!
UC-Chewie
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 531

WinXP
D5 Ent
BeitragVerfasst: Di 07.12.04 13:00 
Wenn beide Prozess von dir sind sprich du den Quellcode hast und die Programme ändern kannst, könntest du in einem Program einen Mutex setzen. Im anderen tust tu das ebenfalls, geht es, so läuft das andere Programm nicht, existiert der Mutex bereits, so läuft auch das andere Programm.
Such mal hier nach Suche in: Delphi-Forum, Delphi-Library CREATEMUTEX, da solltest du fündig werden.
Oder auch in der FAQ: Suche in: Delphi-Library CREATEMUTEX

_________________
Egal wie dumm man selbst ist, es gibt immer andere, die noch dümmer sind