Modifying a string in resource of an exe

后端 未结 4 1807
醉梦人生
醉梦人生 2021-01-03 16:03

How do I modify buffer in following code then save the changes in resource of the executable? I\'m looking for something like SetString(handle,index,buffe

4条回答
  •  一整个雨季
    2021-01-03 16:41

    I believe you need to replace the entire group with a version that contains your modifications. This isn't that difficult to parse, and you can take a few shortcuts. Load everything into a tStringlist and then loop down the list until the string starts with '65300,'. Perform your replacement and save the text portion of the stringlist as the replacement resource.

提交回复
热议问题