I ve got a edited resources file (.res). 我需要读到C#,以便我能够按方案加以修改。 请注意:
迄今为止,我在Win32的APIC中研究了LadLibrary、LoadResource等情况,但似乎这些职能仅涉及executables(exe, .dll),而不是资源档案。
I ve tried loading the file with BinaryReader, but of course I can t make much sense of the resultant byte array. I thought of trying to use Marshal.PtrToStructure but I haven t got an idea what the structure of a res file is. I ve got the structure of the RESOURCEHEADER, but I couldn t understand how to use it (I admit I ve got very little native-code experience).
请允许我帮助我了解如何成功阅读和更新,。 info in .res file?