How to add resources to an existing DLL or EXE file? I am interested in binary resources, that can be invoked by the application, like VERSIONINFO or WinXP manifest but not them exactly.
Posted on 2003-01-28 07:06:06 by Maestro
Maestro,

If the application has a standard resource section, then you can usually open the EXE / DLL with a resource editor and perform some modifications that way. A WINRAR SFX module is a good example of an EXE designed to be modified in that manner.

Regards,

hutch@movsd.com
Posted on 2003-01-28 13:19:09 by hutch--
I need PROGRAM way to perform this. Of course, I can use some resource editing utility, but how to do it from my own? If I open a PE file and replace section - will it work? And what is this section?
Posted on 2003-01-28 13:32:56 by Maestro
Posted on 2003-01-28 13:45:04 by Delight
The NT versions (includes 2000 and XP) have the update functions.

The 9x (includes ME) versions don't. You need to install the Unicode Layer to get the W versions.
Posted on 2003-01-28 15:45:49 by tenkey
The attached utility should do what you want. It replaces the existing resource.

James
Posted on 2003-01-29 07:26:30 by jcfuller
Thanks to all!
Posted on 2003-01-29 09:57:24 by Maestro