Extract icon from exe or dll files
HI,
look windows API functions
HICON ExtractIconEx(
LPCSTR lpszFile,
int nIconIndex,
HICON FAR * phiconLarge,
HICON FAR * phiconSmall,
UINT nIcons
);
and
HICON ExtractIcon(
HINSTANCE hInst, // instance handle
LPCTSTR lpszExeFileName, // filename of file with icon
UINT nIconIndex // index of icon to extract
);
Good luck ;o)
Fred
"Zachy" <za...@online.no> a crit dans le message news:
exA05.24094$C9.456...@news1.online.no...
Quote
> Hi how can I extract icon form exe or dll files and copy them to a
> imagelist?