Hello. Sorry I didn't have time to read/respond to this email list in the last 2 months.
I tried today to add more than one icon in an EXE file. For example I want to embed in my application's EXE file a standard icon, a 16x16 pixels icon, a high resolution icon, etc, so the user can choose a different icon for its desktop shortcut or to associate different file types with my application's icons. I did all this stuff but I can't select which of these embedded icons is the default. More precisely, after the compiler builds the application, it will assign the first icon (icon number 0) to the generated exe file. But how to instruct the compiler which of my icons is the first one? This is my Icons.RC file: ICON_STANDARD ICON "icons\default 256 transparent standard.ico" ICON_SHADOW ICON "icons\default 256 transparent shade.ico" ICON_SETUP ICON "icons\setup 256 transparent.ico" and this is the BAT file that call the resource compiler: prompt $ echo off cls c:\Borland\Delphi7\Bin\brcc32.exe -v Icons.rc echo. pause I have tried to change the order of the lines, to put my preferred icon first, but the result is the same. The compiler still chooses the 'setup' icon as default icon for my EXE. Any ideas or links to a good web site about RC files and BRCC32 compiler? _______________________________________________ Delphi mailing list -> [email protected] http://www.elists.org/mailman/listinfo/delphi

