ghisler(Author) wrote:I'm using my own icon caching mechanism because the one in Windows is very slow.
It's not a big suprise to me that [face=tahoma]Total Commander[/face] uses it's own icon cache. The system icon cache is slow and buggy. Nothing has to be changed here.

Sorry, but I don't think your answer is an answer to the feature requested by the thread starter.

He wanted to know if it's possible to display the same icons that are shown in Windows Explorer. To do this it's not necessary to read the system item cache. The feature required is a flexible and easy to understand option for the user.
The user can choose one of the following 2 options:
1. Use explorer icons (read locations from well known reg keys first -> if not found read from shell32).
2. Use iconlib (current behavior: if not set, use icons from Totalcmd.exe)
(of course folder attributes have still the highest priority, but this is not as important as in the current situation, see below)
Another benefit: Set folder attributes only if a custom icon is required
This would be a lot clearer than the current solution where I have to set read only or system bit to get the "SHGetFileInfo" icon. I want to set this only if I really need a custom folder icon.