Einzelnen Beitrag anzeigen

Dennis07

Registriert seit: 19. Sep 2011
Ort: Deutschland
482 Beiträge
 
Delphi 11 Alexandria
 
#2

AW: Enumerate tasks - get explorer window directory

  Alt 9. Okt 2014, 22:55
Hi,
using the Windows API you can obtain the file path of a process.
Then, you can extract the icon from it.

To get the path, you'll need the so-called Process ID (DWORD type).
Bei Google suchenDelphi Get Process ID

Then, the TModuleEntry32 will probably help you further.
Bei Google suchenDelphi Get Process File Path

To get the icon of a file, you may use something like this.
Dennis
  Mit Zitat antworten Zitat