windows 在 Visual Studio 2010 Express 中创建“.rc”文件

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/8623078/
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

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-09-15 18:43:53  来源:igfitidea点击:

Creating a ".rc" file in Visual Studio 2010 Express

windowsvisual-studio-2010embedded-resource

提问by Salil Deosthale

I'm trying to learn game programming. I am using Microsoft Visual Studio 2010 Express on Windows Vista. I want to know how to create a resource file (.rc). The microsoft website gives some fairly ambiguous instructions on creating one. http://msdn.microsoft.com/en-us/library/sxdy04be.aspx. If I go to my Solution explorer, right click and select Add New Item, the IDE does not give a .rc file as one of the options. It only gives me a .cpp, .h and windows form as options. I don't know what to do. I just can't figure out where i'm goofing up. I'd be very grateful if someone could point me in the right direction.

我正在努力学习游戏编程。我在 Windows Vista 上使用 Microsoft Visual Studio 2010 Express。我想知道如何创建资源文件 (.rc)。微软网站给出了一些关于创建一个相当含糊的说明。http://msdn.microsoft.com/en-us/library/sxdy04be.aspx。如果我转到我的解决方案资源管理器,右键单击并选择添加新项目,IDE 不会提供 .rc 文件作为选项之一。它只给我一个 .cpp、.h 和 windows 形式作为选项。我不知道该怎么办。我就是想不通我在哪儿搞砸了。如果有人能指出我正确的方向,我将不胜感激。

Thanks a lot Merry christmas!

非常感谢圣诞快乐!

回答by Mark Hall

The Visual Studio Express 2010 does not have the ability to edit resource files. Take a look at this MSDN pageit is the listing of which features each version of VS 2010 contain.

Visual Studio Express 2010 没有编辑资源文件的能力。看看这个MSDN 页面,它列出了每个版本的 VS 2010 包含哪些功能。

From above link. There is no resource editor in the Express Version.

从上面的链接。Express 版本中没有资源编辑器。

This linkdiscusses a way to add a resource editor to Visual Studio Express.
Also take a look at this MSDN Forum LinkIt has some tips and links to external editors.

链接讨论了一种将资源编辑器添加到 Visual Studio Express 的方法。
也看看这个MSDN 论坛链接它有一些提示和外部编辑器的链接。