how can i add / delete new resource to exe
i try to use BeginUpdateResource but not work
it work only at Winnt / 2000 / xp
i try to use Unicode such BeginUpdateResourceW
how can i ??
Posted on 2002-09-29 08:33:26 by irwan
Here is an interesting tool for you,

Resource Hacker

http://www.users.on.net/johnson/resourcehacker/reshack.zip

FREEWARE utility to view, decompile, modify and compile resources in Win32 executables. Dialogs, menus, and stringtable resource scripts (and also Borland forms) can be edited using the internal editor and immediately recompiled.

Note to Mr.Bazik : Please don't edit my reply!

:alright:
Posted on 2002-10-07 05:24:16 by Vortex

how can i add / delete new resource to exe
i try to use BeginUpdateResource but not work
it work only at Winnt / 2000 / xp
i try to use Unicode such BeginUpdateResourceW
how can i ??


Uhm.... we had at least 2 Threads about the same topic in the last 2 weeks... (fear this question: ) did you use the search function?
Posted on 2002-10-07 06:07:59 by bazik
Posted on 2002-10-07 09:02:35 by roticv

Relax Bazik.


With "edit" he ment that I censored a link.
Posted on 2002-10-07 09:06:11 by bazik
Hi all,

Foreword: You can't add any DOS stub to an already existing PE.. because if the DOS stub you wanna install is too big, and the PE part has no reloc section, the mapping will be in error and the PE part will not work anymore.

Question: Can one add an icon to any PE (which was without icon), without causing this malfunction? Maybe adding the icon as the last section of the file?

If so, what's the simplest program to just add an icon to any PE? (I don't need to add any other kind of resource.. just an icon!).
Posted on 2002-10-07 17:02:09 by Maverick