简体   繁体   中英

Win32 resource editor library?

Is there any free library out there that can provide editing capabilites for resources in Win32 PE files?

It needs to be able to do the following:

  • Provide a reasonably simple API for altering dialog resources ( including the "extended" dialog version, which is poorly documented ).
    Editing dialogs with UpdateResource by hand is a major pain in the rear, since most of the structures' fields are variable-length, and encoding/decoding them is very error-prone and time consuming to code.

  • Handle both 32-bit and 64-bit PE files

  • Have support for widely used resource types (string tables, bitmaps, etc.)

  • Be able to handle any kind of valid resource (even if it's not widely used), even if that means just providing a simple copy to/from binary.

  • I don't care about.res files, and I really don't need.rc functionality. I just need PE editing.

C, C++, and C# are all fine, although I prefer C# since it's easier to code with. My main concern is dialog editing for 32-bit and 64-bit PE files, so that's the most important factor.

Its only for 32bit, but resourcehacker might be a good substitute till you find something better.

I haven't gotten the chance to test it, but I found Anolis.Resourcer which seems to be pretty capable.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM