Hello,

I have "some.DLL" and "some.LIB" developed as "Win32 Dynamic-Link Library".

How can I make them appear in "Windows Explorer" with custom icon ?

I tried to insert "some.ICO" as resource but it doesn't work.

Thank you, dave

Re: DLL and its icon by Alex

Alex
Sat Aug 20 02:23:59 CDT 2005

dave wrote:
> Hello,
>
> I have "some.DLL" and "some.LIB" developed as "Win32
> Dynamic-Link Library".
>
> How can I make them appear in "Windows Explorer" with
> custom icon ?

You can't. Windows shell asigns icons based on file
extention. There is one exception in this rule: .EXE files.
EXE file is a program that user can run, that's why system
first looks inside EXE module to determine whether custom
icon should be displayed. Then, if icon is not found, system
default icon is used.