简体   繁体   English

如何比较两个资源文件(* .res)的内容?

[英]How to compare the contents of two resource files (*.res)?

I am working on a vb project which uses a resource file (*.res) to map between two values. 我正在研究一个使用资源文件(* .res)来映射两个值的vb项目。

Now I need to compare two resource files (existing one and the edited one), I have "Beyond Compare" and "Win-Merge" software to compare .. but the RES file gets opened only in Visual Studio and the contents of the RES file can't be copied all at once .. and as it uses some script (or encryption) on its contents .. it can't be opened with any other editors 现在我需要比较两个资源文件(现有的和已编辑的一个),我有“Beyond Compare”和“Win-Merge”软件进行比较..但RES文件仅在Visual Studio和RES的内容中打开文件不能一次全部复制..因为它在其内容上使用了一些脚本(或加密)..它不能用任何其他编辑器打开

now because of which I have to make a manual comparison which is hectic task .. file size is too big .. the alternate was to use file compare software where as they don't support this extension of file .. 现在因为我必须进行手动比较,这是繁忙的任务..文件大小太大..替代是使用文件比较软件,因为他们不支持这个文件扩展名..

Can you please help me with extraction of the contents of the file? 你可以帮我提取文件的内容吗?

Download a resource editor (like ResEdit ) and convert it to a resource script ( .rc ) file. 下载资源编辑器(如ResEdit )并将其转换为资源脚本( .rc )文件。

A resource script is as good as a text file, can be copied and edited using notepad 资源脚本与文本文件一样好,可以使用记事本进行复制和编辑

Two files can be directly compared in beyond compare. 可以直接比较两个文件进行比较。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

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