I had a Delphi 6 application with a 16x16 icon. Recently I made the 64x64 version of it and recompiled the application.
This high-resolution icon is displayed on Windows 7 Superbar and in task manager when I run the application. It is displayed in .exe file properties.
But when I make a shortcut on desktop, it shows me a stretched low-resolution icon (16x16). When I go to this shortcut's properties - it shows me the 64x64 version. To display the High resolution icon on the shortcut I have to go to shortcut icon's properties, click on the only hi-res icon available, click "Ok" and "apply" and do this sequence twice.
If I delete the shortcut and try to create it again, it shows the 16x16 icon again until I assign the icon twice.
I have specially looked into .res file - there is only one icon.
I have cleared icons cache, logged out and logged in. Still no change of behaviour. Such a behaviour is reproducible on other computer with Windows 7.
I have no idea what is happening. Is it making the low-resolution version from high-resolution or it has cached the previous version somewhere?