Extract icon of EXE fi

DL>I have to extract the graphic icon of any executable file (.EXE) and
DL>display it in a DELPHI program.

DL>I have no idea where to begin....

Start with the ExtractIcon() API function. Once you got the icon handle
(hIcon), you can assign it:

  MyIcon.Handle := TheIconHandle;

Now you've got a TIcon object, which you can use to draw the icon almost



Jani Jarvinen, Helsinki Finland          jani.jrvi...@hiway.fipnet.fi

Check out Help Editor 2.0 for Windows at:

1996: Only four years to computer confusion!
What have you done to avoid it?
 * SLMR 2.1a *