Setting the Icon for a Delphi XE application

FB 7.0.0.1864

Delphi XE project

I want to change the icon I use for my application, am I'm having difficulty getting the icon changed when the project is rebuilt.

I don't seem to be able to change the icon from that originally created for the project.

I set the name for the new icon and have regenerate resource checked, but the old icon is always added to the exe.

The icon is created by Axialis Iconworkshop, and I get an error if it is an icon that contains more than one image. For icons that are a single image, the icon is displayed in FB, but never makes it into the exe.

Is there something else I should be doing, or this a little bug ?

TIA

Sue

 

The fact that the old icon is still being linked probably just because the resource compiler is failing to build the new resource, or there is an additional resource file with a MAINICON resource being linked into the exe (have a look for {$R xxxx} in the dpr file.

The issue with the error with your icon is probably a limitation with the Embarcadero resource compiler. On the resource compiler tab, change it to use the Microsoft resource compiler which can deal with proper high color and multires icons.