We're just adding support for Window 7 to our in-house applications and we're having problems with including support for large icons to the applications.
I've created a .ico file in IcoFX with the default range of icons included, and assigned this to the project in Delphi 2010. However when I run the application the icon displayed is the default (32x32?) icon.
Is the problem that I'm compiling the application on a Windows XP machine rather than on Windows 7?
[Update] I've confirmed that XE2 includes all the icon sizes on compile - certainly when compiling on Windows 7.
It might by the Windows IconCache database. This is one problem I've run into in similar situations. Some Delphi development machines still show icons from several years back because the IconCache only stores the path, not any hash of the file's content.
Click on this link to find out how to clear the IconCache:
https://www.google.com/search?q=reset+iconcache+windows
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With