Re: Application Interface Icons Appear Corrupt
---- Original Message ----
From: "arnymars" <arnymars@discussions.microsoft.com>
Newsgroups: microsoft.public.win98.gen_discussion
Sent: Friday, November 23, 2007 12:33 AM
Subject: Re: Application Interface Icons Appear Corrupt
| PCR
|
| My key is empty too. I'm not sure why you mentioned this.
The key was mentioned in...
http://www.geocities.com/SiliconValley/4942/contents.html
...., BUT I see now it also says an initial RAM cache can also be created
from icons in SHELL32.DLL (which I DO have). Anyhow, I'm glad it's not
just mine that's empty!
| As to the size of ShellIconCash,
That's-- ShellIconCache.
| I wonder how it can grow beyond max
| value specified in Registry?
You mean where that URL says...!...
"The shell will not proceed with the save if the icon table is greater
that the maximum size."
I'm not positive what it is refering to! Where do you see Max Cached
Icons refered to?
| Also, I think changing Win Theme has broader effect than changing
| icon size only, but the later action can result in ShellIconCash file
| update,
Right. Switching the Theme is broader & may end up causing the RAM cache
to regenerate, but just changing the icon size forth & back is
sufficient...
http://www.geocities.com/SiliconValley/4942/contents.html
.......Quote...........
Other than freeing individual cache items, there are also
times when the entire cache needs to be cleared out. This
typically happens when you change the system icon size in
the Display Properties. Obviously the images in the image-
lists are now incorrectly sized, so the imagelists need to be
deleted and the whole cache rebuilt from scratch.
.......EOQ..............
| while the former doesn't necessarily lead to changing any
| icons or ShellIconCash (if ever).
Right, but that's-- ShellIconCache.
| But its true - it flashes some
| resources, though Standby doesn't seem to be associated with RAM
| flash (if not opposite).
Well, I was just guessing about that. How do you normally shutdown or
restart? Do you use the START button or a shortcut? Using a shortcut is
not sufficient to cause the ShellIconCache to regenerate. It's possible
going to Stanby & back might do it. (I should test that.) I do know
just...
"START button, Shut Down, CANCEL button"
....will do it! And I suppose it rebuilds the RAM Cache too, if that
hasn't already been rebuit. Here's another quote from that page...
"When the system is shutdown via the shell (not something
like ExitWindows), it will will attempt to save the cache to
disk before proceeding the actual shutdown."
| PCR
|
| From Glee's links it appears (between lines) that Max Cached Icons
| registry value controls RAM only,
Well, the RAM cache does get occasionally written to the ShellIconCache.
So, indirectly both sizes must be affected.
| but not a disk ShellIconCash
ShellIconCache-- I said!
| damp
| at Win Exit.
A proper shut down (not using a shortcut) will cause the ShellIconCache
to be rebuilt from the RAM Cache, when appropriate. You can even cancel
the shutdown, & it will be built, if it had been deleted or Windows
believes it otherwise to be appropriate.
| I guess, Win98 bug prevents this control from working on
| some installations,
You mean this (from that URL)...?...
........Quote..............
There is one small catch to this operation though. The shell will not
proceed with the save if the icon tableis greater that the maximum size.
However, as we've dis-cussed earlier, the icon table never actually
removes any entries - it only marks them as being 'free' when they're
flushed. The result is that once the cache exceeds its maxi-mum size, it
will never be possible to save it (you could get around this by doing a
complete cache flush though).
.........EOQ.....................
I think the complete cache flush is accomplished by changing icon size
forth & back in Display Properties. However, yea, I guess that is a bug
for us to have to do it.
| probably those not updated with Service Packs &
| Bug Fixes.
Nope. I have all of those. Probably it is 3rd party apps that cause the
RAM Cache to occasionally require us to manually flush it.
| As to an Application Toolbar Icons, it looks like they are loaded
| from its .dlls by the application at its Window (re)draw time. Some
| applications may later keep them in a damp file in their program
| folder (that's why there are loaded wrong every start) or in Win -
| Applications Data folder. Others load their toolbar icons every time
| from .dlls, slowing the window rendering process. In both scenarions,
| Win Theme change obviously makes a global effect, prompting every
| application to flash there basic theme (before applying skins) -
| interesting how in particular?
It could be as you say. Some applications are just mangling the RAM icon
cache!