How can I display the icon of a process

delphi package - easy access to kernel objects etc.
Post Reply
George
Posts: 3
Joined: Thu Jan 27, 2005 1:36 am

How can I display the icon of a process

Post by George »

Hello,

the Processes.Items[x].Icon returns a cardinal, not an Icon.

How can display the icon in a TImage object?

Thanks
PInvoke
Posts: 25
Joined: Sun Jan 16, 2005 4:32 am

Post by PInvoke »

Code: Select all


Image1.Picture.Icon.Handle := Process.Items[x].Icon;



hope that helps
Post Reply