From: Pavel A. on
It appears that UpdateResource (BeginUpdateResource, EndUpdateResource)
fails on
some old PE files, made with VC6 or older (linker version < 7.0)

I try to replace version resource on executables made with VC2005 or newer,
using UpdateResource.
It works fine. But on some old exe files from Win2000 resource kit,
UpdateResource fails in various ways.
It may return success or error, but it won't actually replace the resource,
and even can leave the file in half patched state (broken).

Probably MapAndLoad API does not work with these files as well.

My build machine has WinXP SP3.

Any information how to make UpdateResource work on older PE files is
appreciated.

Regards,
--pa