Hi all,
the search function didn't address the specific questions I have, so here I am trying to bother you all. :grin:

This is easy: How can I add an icon to the EXE I'm building using a standard (MASM/VisualC) linker's command line option?

Even better: is there any program capable of adding icons to an EXE that had no resource section at all? Is this even possible?

Thanks a lot,
Mav
Posted on 2003-04-08 10:27:57 by Maverick
maverick, for you own EXEs, create a .rc file, run it through rc.exe, and link with the .res.

for existing exe, use a resource editor. www.programmerstools.org (no, that site shouldn't in any way be illegal, "bad stuff" has been removed from it) has a few - I've used Resource Hacker myself. Dunno how they handle PEs with no .rsrc, but most of them can add resources so... guess it should work.
Posted on 2003-04-08 10:36:24 by f0dder
But just adding a .rsrc section and an icon to it.... Well you'll still be missing the code to actually use that icon in that executable.
Posted on 2003-04-08 14:04:38 by Will
wont be a problem if he just want an icon to appear in explorer :)
Posted on 2003-04-08 14:07:55 by f0dder

Hi f0dder,
for existing exe, use a resource editor. www.programmerstools.org
Thanks, I'm gonna ch3ck those resource-handling-proggies out. ;)

wont be a problem if he just want an icon to appear in explorer :)
Exactly++. :)
Posted on 2003-04-08 16:14:21 by Maverick