windows 7 - Best way to add icon to delphi 2007 app (win7) -


i want add icon delphi app. icon generated image via icofx, including 128x128 , 256x256 (vista) icons. tried add icon several times:

first of all, using code gear ide: project options->application->icon. easy way, vista-sized icons (128x128 , 256x256) not added. when scaling in windows explorer ctrl+wheel, icon stoped increasing in size after 64x64. happens because delphi not support big icons.

then tried change icon in myproject.res file (using resourseexplorer). did not helped much.

when changing .exe-file icon using resourseexplorer problems seems solved, not path of jedi, obviously. , problems appears/remains, such as:

  1. when changing .exe-file name (ex: meprog.exe _myprog.exe), file icon changing either (128x128 , 256x256 icons disappeare).
  2. when using mouserightbutton->send to->desktop create label, label's icon of small resolution.
  3. copy-pasting exe-file other directory(not in deplhi project output dir), change icon.

is there better way this, or doing wrong way?

see change-log around 2.7 version

http://andy.jgknet.de/blog/ide-tools/ide-fix-pack/

it seems try use delphi without installing necessary fixes

ps. way might make command-line utility replacing icon resource , auto-call after compilation phase. still ugly, better manually launchign resedit each time.


Comments