Autor Beitrag
scrooge
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 200



BeitragVerfasst: So 21.03.04 18:54 
Hi,

hab in meinem Programm ne Proc eingebaut, mit der man die ExeFiles der jeweiligen Prozesse rausfinden kann. Jetzt gibt's nur das Problem, dass diese Proc mir nur die reine Dateinamen der Exe speichert, ohne Pfadangaben. Wüsste nun mal gern, wie man auch den Pfad der entsprechenden Exe herausfindet.

Schon mal danke für die Mühe.
Luckie
Ehemaliges Mitglied
Erhaltene Danke: 1



BeitragVerfasst: So 21.03.04 22:11 
Mehr Infos bitte. Welches OS und wie machst du es?
scrooge Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 200



BeitragVerfasst: Mo 22.03.04 16:00 
Win XP. Benutze CreateToolHelp32Snapshot.
MathiasSimmack
Ehemaliges Mitglied
Erhaltene Danke: 1



BeitragVerfasst: Mo 22.03.04 18:38 
Motzi hat zwar angekündigt, er würde eine bessere Möglichkeit posten (*gääääääääääääähn* @Motzi ;)), aber bis es soweit ist als Anregung ein FAQ-Beitrag: per Fensterhandle (HWND) den Exe-Dateinamen erhalten?. Nicht vom Titel irritieren lassen, der notwendige Code (für 9x und NT), den auch du brauchst, steckt da drin.

Außerdem hat Luckie IMHO einen Prozess-Viewer samt Source, der das auch kann.
Motzi
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 2931

XP Prof, Vista Business
D6, D2k5-D2k7 je Prof
BeitragVerfasst: Mo 22.03.04 20:27 
Achja.. stimmt..! :oops: ganze vergessen..! :roll: Naja, vielleicht hol ich das noch nach wenn ich dran denk...

_________________
gringo pussy cats - eef i see you i will pull your tail out by eets roots!
scrooge Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 200



BeitragVerfasst: Di 23.03.04 20:39 
thx für Post's !! :D
scrooge Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 200



BeitragVerfasst: Di 23.03.04 21:01 
Komisch Mein Delphi (Vers. 6) kennt weder psapi noch GetmoduleFilenameEX