Log in

View Full Version : Change application icon


Fergo
January 21st, 2007, 20:29
Hi people!
I'm trying to create and application that changes the icon of an executable, but I don't know exactly what I should look for or what I need to modify. Could someone give me some hints? ( I don't want to use a Resource Editor, because I need to implement this on my own app ).

Regards,
Fergo

Kayaker
January 21st, 2007, 21:17
Hi

You could start by looking at this old paper by Rheingold. Check out the second zip file I attached, which includes the source code for that particular article.

Parsing the .rsrc section to locate icons

http://www.woodmann.net/forum/showthread.php?t=5423

Kayaker

LLXX
January 21st, 2007, 21:20
...how is this "Advanced reversing and programming" ?

Scan for icon resource headers. Overwrite bytes with new icon. Done.