visual-studio Windows .rc 文件的免费资源编辑器?
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 
原文地址: http://stackoverflow.com/questions/381915/
Warning: these are provided under cc-by-sa 4.0 license.  You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
Free resource editor for Windows .rc files?
提问by Anders Sandvig
Microsoft Visual C++ Express does not include the built-in resource editor that comes with the professional versions. Are there any good, free, alternatives out there that let you visually edit those .rc files?
Microsoft Visual C++ Express 不包括专业版附带的内置资源编辑器。是否有任何好的、免费的替代方案可以让您直观地编辑这些 .rc 文件?
Note: I am talking about the resource script source files used by Visual C++ to compile the resources, not the compiled resources themselves (i.e. the program would need to be able to visually edit menus and dialogs in a similar way as MSVC++ does it).
注意:我说的是 Visual C++ 用来编译资源的资源脚本源文件,而不是编译的资源本身(即程序需要能够以与 MSVC++ 类似的方式直观地编辑菜单和对话框)。
回答by alexandrul
ResEdit used to be available here: www.resedit.net
ResEdit 曾经在此处提供:www.resedit.net
However, it seems to contain malware at this time. Please look for mirrors or scan it before use.
但是,此时它似乎包含恶意软件。使用前请寻找镜子或扫描它。
ResEdit is a free Resource Editor for Win32 programs. You can use it if you want to use dialogs, icon, version information or other types of resources. Output files can be compiled by any Win32 compiler, like MinGW and Microsoft Visual C++. To open a file which uses Win32 API symbolic constants, you will also need Win32 header files (usually coming with you compiler).
ResEdit 是一个免费的 Win32 程序资源编辑器。如果您想使用对话框、图标、版本信息或其他类型的资源,您可以使用它。输出文件可以由任何 Win32 编译器编译,如 MinGW 和 Microsoft Visual C++。要打开使用 Win32 API 符号常量的文件,您还需要 Win32 头文件(通常与您的编译器一起提供)。
回答by B. Nadolson
Resource Hacker is free, has a nice GUI and no adware and is fully functional and is light and tight at a download size of 2.7 MB. If you are looking to edit resource files or an .exe and just want a stock resource editor it works great.
Resource Hacker 是免费的,有一个漂亮的 GUI,没有广告软件,功能齐全,下载大小为 2.7 MB,轻巧紧凑。如果您正在寻找编辑资源文件或 .exe 并且只想要一个库存资源编辑器,它会很好用。
http://www.angusj.com/resourcehacker/#download
http://www.angusj.com/resourcehacker/#download
I've tried 3 resource editors and this one was the smallest and fastest with the simplest interface, but may not have some of the advanced features of the other suggestions.
我已经尝试了 3 个资源编辑器,这个是最小和最快的,界面最简单,但可能没有其他建议的一些高级功能。
回答by Scott W
I use XN Resource Editorand am quite happy with it.
我使用XN 资源编辑器并且对它非常满意。
回答by Scott W
Microsoft eVC++4 (googlable, currently at http://www.microsoft.com/downloads/details.aspx?FamilyId=1DACDB3D-50D1-41B2-A107-FA75AE960856) is free, and comes with a built in resource editor. You can certainly create .rc (etc) files for MSVC++6 and onward (e.g., MSVC++2005e,2008e) with it. Using it to edit existing MSVC++6 (etc) files is not always as easy, as eVC is intended for Windows CE, which doesn't define all of the styles VC++6 uses (e.g., SS_SUNKEN), but you can always manually add them to your resource.h file (the appropriate values are searchable by looking in the .h's that come with MSVC++, and once you've done it once it should "just work".
Microsoft eVC++4(谷歌搜索,目前位于http://www.microsoft.com/downloads/details.aspx?FamilyId=1DACDB3D-50D1-41B2-A107-FA75AE960856)是免费的,并带有一个内置的资源编辑器。您当然可以使用它为 MSVC++6 及更高版本(例如,MSVC++2005e、2008e)创建 .rc(等)文件。使用它来编辑现有的 MSVC++6(等)文件并不总是那么容易,因为 eVC 是为 Windows CE 设计的,它没有定义 VC++6 使用的所有样式(例如,SS_SUNKEN),但是您可以始终将它们手动添加到您的 resource.h 文件中(可以通过查看 MSVC++ 附带的 .h 来搜索适当的值,一旦您完成它,它应该“正常工作”。
Edit: I have found that it is better to just remove incompatible VC++6 styles (e.g., using a text editor), as some of the absent styles cause the window containing them to fail to display.
编辑:我发现最好只删除不兼容的 VC++6 样式(例如,使用文本编辑器),因为一些缺少的样式会导致包含它们的窗口无法显示。

