Autor Beitrag
galbe19
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 56



BeitragVerfasst: Mo 07.04.08 07:34 
hallo

wie kann ich testen ob eine .exe datei geofnet wird.
also ich in eine delphi prozedure testen ob eine bestimmte .exe datei geofnet ist.
wie kann ich es machen?

mfg
Alex

Moderiert von user profile iconNarses: Titel geändert.
Hidden
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 2242
Erhaltene Danke: 55

Win10
VS Code, Delphi 2010 Prof.
BeitragVerfasst: Mo 07.04.08 19:34 
Hi,

Yugo programmiert doch gerade einen Task-Manager... Es müsste sich doch eine Liste beschaffen lassen, welche Progis laufen und dann prüfen, ob es schon in der Liste ist...

mfG,

_________________
Centaur spears can block many spells, but no one tries to block if they see that the spell is a certain shade of green. For this purpose it is useful to know some green stunning hexes. (HPMoR)
FinnO
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 1331
Erhaltene Danke: 123

Mac OSX, Arch
TypeScript (Webstorm), Kotlin, Clojure (IDEA), Golang (VSCode)
BeitragVerfasst: Mo 07.04.08 19:54 
Normalerweise gibt es eine Exception, wenn man versucht eine laufende/geöffnete Datei zu öffnen.

ausblenden Delphi-Quelltext
1:
2:
3:
4:
Try
//Versuche...
Except
// Wenn Fehler mache...
huuuuuh
ontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic starofftopic star
Beiträge: 665
Erhaltene Danke: 19

win xp, (win vista), win 7
VS 2008 Express Edition, VS 2010 Express Edition, VS 2010 Professionell
BeitragVerfasst: Mo 07.04.08 20:31 
user profile iconFinnO hat folgendes geschrieben:
Normalerweise gibt es eine Exception, wenn man versucht eine laufende/geöffnete Datei zu öffnen.

ausblenden Delphi-Quelltext
1:
2:
3:
4:
Try
//Versuche...
Except
// Wenn Fehler mache...



wtf? wo hastn des her? und was hat dein codeschnipsel damit zu tun?