Is it possible to change a exe's icon without recompiling it?

Posted by Microkernel on Stack Overflow See other posts from Stack Overflow or by Microkernel
Published on 2010-05-03T18:14:26Z Indexed on 2010/05/03 18:18 UTC
Read the original article Hit count: 323

Hi all,

I have lot of executable that I have compiled (long time back) for many of which I don't have sourcecode now. But when I compiled them I didn't put any icons for them, so they all look like same dull, bald default icon. So my questions are,

(1) is it possible for me to write a software that can change the resources section of the exe and change its looks? If so, can anyone plz point me to the location where its explained? (I am a beginner, I have no idea on the exe format and all) Also its fun to keep changing Icons without having the pain of recompiling everything just for the icon change...

(2) This is raises a natural converse question, Is it similarly possible to zap out the icon used by some file and use it for some other file? (If so, plz point me to location where I can get some details.

I am a C/C++ developers and I am looking for solution on Windows Platform...

Regards, MicroKernel

© Stack Overflow or respective owner

Related posts about windows-programming

Related posts about c