Forum: Win32/Win64 API (native code)
Delphi
by Blacklotus,
7. Jun 2003
OK danke Luckie so geht es perfekt :hello:
Forum: Win32/Win64 API (native code)
Delphi
by Blacklotus,
7. Jun 2003
@Luckie: Hast du das so gemeint? Weil so bekomme ich immer noch einen leeren String;
Path := GetProcessPath(OpenProcess(PROCESS_ALL_ACCESS,false,ProcEntry.th32ProcessID));
Forum: Win32/Win64 API (native code)
Delphi
by Blacklotus,
7. Jun 2003
Hallo bin neu hier und hab da mal ne Frage :D
Ich will den Pfad der explorer.exe ermitteln. Unter Win 9X,ME scheint das kein Problem zu sein aber unter Win2K,XP bekomme ich nur den Dateinamen zurück. Hier mal ein Code Schnipsel
var
NTPID:TProcessrecs;
win : HWND;
tempString: array of Char;
i,j : Integer;
ProcID : DWord;