Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Delphi 2010 won't include Large icons

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.

like image 633
Dan Kelly Avatar asked May 31 '12 13:05

Dan Kelly


1 Answers

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

like image 187
Gogowitsch Avatar answered Oct 01 '22 16:10

Gogowitsch