r***@gmail.com
2013-11-13 11:40:36 UTC
We read a registry key in GetOverlayInfo() and IsMemberOf() methods to determine whether to show the overlay icons or not. From both of these methods we return S_FALSE if registry key is not set.
Problem is that when GetOverlayInfo() is called registry key is not set but it is set later in the session. I've notice once GetOverlayInfo() returns S_FALSE, shell doesn't call IsMemberOf() further.
This registry key is set/reset from a different process(our application) while GetOverlayInfo() and GetOverlayInfo() runs within explorer (which is obvious)
I am looking for ideas to make my scenario work i.e. After registry key is toggled somehow GetOverlayInfo() should be called at least once. I've not found any way to do on web so far.
I tried to delete "Iconcache.db" file but that didn't enforce explorer to call GetOverlayInfo() again.
Can we clear explorer's cache programatically ? That might enforce explorer to call GetOverlayInfo() again?
I read somewhere that there was article published in 98 issue of Window's Journal(WDJ) under title "rebuilding internet shell icons cache". Perhaps this article will help but I don't find it on web. Anybody has clue ?
Problem is that when GetOverlayInfo() is called registry key is not set but it is set later in the session. I've notice once GetOverlayInfo() returns S_FALSE, shell doesn't call IsMemberOf() further.
This registry key is set/reset from a different process(our application) while GetOverlayInfo() and GetOverlayInfo() runs within explorer (which is obvious)
I am looking for ideas to make my scenario work i.e. After registry key is toggled somehow GetOverlayInfo() should be called at least once. I've not found any way to do on web so far.
I tried to delete "Iconcache.db" file but that didn't enforce explorer to call GetOverlayInfo() again.
Can we clear explorer's cache programatically ? That might enforce explorer to call GetOverlayInfo() again?
I read somewhere that there was article published in 98 issue of Window's Journal(WDJ) under title "rebuilding internet shell icons cache". Perhaps this article will help but I don't find it on web. Anybody has clue ?