This project is read-only.

Can't get /rf to work

Nov 27, 2013 at 1:29 PM
I have been looking at verpatch and it seems to fit my need. I want to replace an XML resource in an EXE file (with resource ID 156 ( 0x9C)) with a newer XML file.

I use this command
verpatch myfile.exe /rf #9C new.xml

But I receive "read only, existing". Looking at your code, it seems to fail in function addResourceFromFile (relstamp.cpp) somehow.

I use MSVC 6 at the moment, and the EXE file is thus a 32-bit exe
Nov 28, 2013 at 11:55 AM
This is a bug... thanks for reporting, I'll fix it.
As a workaround, please try to specify some other action with /rf, such as change file version or comment string.

-- dd