Hi Goerge, Paul,
As both of you mentioned, ExtractIconEx() returns a pointer/handle to the icon.
However, how is it that Windows Explorer is capable of extracting the related default icon for a file (registry) and place that icon in its ListView control?
Obviously, a ListView gets its icons from a related ImageList object and, from my experience ImageLists require a PHYSICAL file name. In that case a pointer would mean nothing to me. Do you have an idea as to how to approach this dilema?
Sorry, I do not mean to sound naive, but this is the first time I tackle this.