项目制作的.rc文件出错 - 指南必须指定类型 [英] Error with .rc file of the project making - Guideline must specify a type
问题描述
你好,我正在研究Visual Studio 2013专业版上的VC ++ 6项目,我正在编译我的所有源文件,因为项目很老但是当我按下一个时(我认为它是源代码控制) (perforce))我收到错误:
C:\ ... \ * project * .rc(1002)
指南必须指定类型。
该行代码为:
#ifdef APSTUDIO_INVOKED
GUIDELINES DESIGNINFO
BEGIN
  IDD_ABOUTBOX,对话
  BEGIN
      ,50 ****(1002行)
 结束
我尝试调查此问题,这可能与.rc文件缺少左侧,右侧,顶部之一的问题有关或者底部MARGIN指示之前,50。 但是,这应该自动完成,对吗?如果我在50之前添加随机MARGIN
,那么资源似乎加载但我不确定它们是否正确加载。
谢谢,
Gavin Chandler
其他可能的类型是:
HORZGUIDE 和 VERTGUIDE 。
我认为此资源不会影响生成的程序,因为Dialog Editor仅使用它来定义边距和指南。
Hello, I am working on VC++ 6 project on Visual studio 2013 pro, and I was compiling all my source files because the project is very old but when I pressed on one (I think it was the source control (perforce)) I got the error:
C:\ ... \ *project*.rc (1002)
Guideline must specify a type.
That line of code is:
#ifdef APSTUDIO_INVOKEDGUIDELINES DESIGNINFO
BEGIN
IDD_ABOUTBOX, DIALOG
BEGIN
, 50 **** (line 1002)
END
I tried looking into the issue and it likely has to do with the issue that the .rc file is missing one of the left, right, top, or bottom MARGIN indications before the , 50. However, this should be done automatically, correct? If I add random MARGINs before the , 50 then the resources seem to load but I am unsure if they are loading correctly.
Thank you,
Gavin Chandler
Other possible types are: HORZGUIDE and VERTGUIDE.
I think that this resource does not affect the generated program, since it is used by Dialog Editor only to define margins and guidelines.
这篇关于项目制作的.rc文件出错 - 指南必须指定类型的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!