Skip to content

Commit 82f8ef2

Browse files
authored
Add "Remarks" headings for error references in range [RC2001, RC2175]
1 parent 114088f commit 82f8ef2

32 files changed

+64
-0
lines changed

docs/error-messages/tool-errors/resource-compiler-error-rc2001.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@ ms.assetid: 92bfb4c0-1879-4606-bb9f-ef7368707b4a
1010

1111
> newline in constant
1212
13+
## Remarks
14+
1315
A string constant was continued on a second line without either a backslash (**\\**) or closing and opening double quotation marks (**"**).
1416

1517
To break a string constant that is on two lines in the source file, do one of the following:

docs/error-messages/tool-errors/resource-compiler-error-rc2007.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,4 +10,6 @@ ms.assetid: a616e506-bef2-4155-9fe0-dbccac8954d3
1010

1111
> #define syntax
1212
13+
## Remarks
14+
1315
An identifier was expected following `#define` in a preprocessing directive.

docs/error-messages/tool-errors/resource-compiler-error-rc2015.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@ ms.assetid: 99691683-fb9e-4e61-beb1-12e484858570
1010

1111
> too many chars in constant
1212
13+
## Remarks
14+
1315
A character constant contained more than two characters.
1416

1517
Character constants are limited to one character (standard character constants) or two characters (long character constants).

docs/error-messages/tool-errors/resource-compiler-error-rc2017.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@ ms.assetid: 5fcc0135-cd60-4b1d-a7dd-8a4f2312697b
1010

1111
> illegal escape sequence
1212
13+
## Remarks
14+
1315
An escape sequence appeared where one was not expected.
1416

1517
An escape sequence — a backslash ( **\\** ) followed by a number or letter — may occur only in a character or string constant.

docs/error-messages/tool-errors/resource-compiler-error-rc2101.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@ ms.assetid: 580f9d74-162f-41e9-9438-ddbe3457c359
1010

1111
> Invalid directive in preprocessed RC file
1212
13+
## Remarks
14+
1315
The Resource Compiler file contains a **#pragma** directive.
1416

1517
Use the **#ifndef** preprocessor directive with the RC_INVOKED constant that the Resource Compiler defines when it processes an include file. Place the **#pragma** directive inside a block of code that is not processed when the RC_INVOKED constant is defined. Code in the block is processed only by the C/C++ compiler and not by the Resource Compiler. The following sample code demonstrates this technique:

docs/error-messages/tool-errors/resource-compiler-error-rc2103.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,4 +10,6 @@ ms.assetid: eedf2366-d1c3-4e7e-815c-d367d976b3f6
1010

1111
> unexpected end of file in string literal
1212
13+
## Remarks
14+
1315
An end of file was found before the end of a string. The string is probably missing a closing double quotation mark (**"**).

docs/error-messages/tool-errors/resource-compiler-error-rc2104.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@ ms.assetid: 792a3bd8-cb4c-4817-b288-4ce37082b582
1010

1111
> undefined keyword or key name: key
1212
13+
## Remarks
14+
1315
The specified keyword or key name is not defined.
1416

1517
This error is often caused by a typo in the resource definition, or in the included header file. It can also be caused by a missing header file.

docs/error-messages/tool-errors/resource-compiler-error-rc2107.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,4 +10,6 @@ ms.assetid: f1786128-aa86-4cdb-a095-05a0b66b5608
1010

1111
> expected numeric command value
1212
13+
## Remarks
14+
1315
The Resource Compiler was expecting a numeric *idvalue* field in the **ACCELERATORS** statement. Make sure that you have used a `#define` constant to specify the value and that the constant is spelled correctly.

docs/error-messages/tool-errors/resource-compiler-error-rc2109.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,4 +10,6 @@ ms.assetid: b800aa67-33c0-42f5-81a2-7a64a3b6b824
1010

1111
> expected numerical dialog constant
1212
13+
## Remarks
14+
1315
A **DIALOG** statement requires integer values for the *x, y, width*, and *height* fields. Make sure these values are included after the **DIALOG** keyword and that they are not negative.

docs/error-messages/tool-errors/resource-compiler-error-rc2111.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@ ms.assetid: 118cba57-82a4-4199-acf4-9d9561946218
1010

1111
> invalid control type
1212
13+
## Remarks
14+
1315
Each CONTROL statement in a **DIALOG** statement must be one of the following: 3STATE, AUTO3, AUTOCHECK, AUTORADIO, BEDIT, CHECKBOX, COMBOBOX, CONTROL, CTEXT, DEFPUSHBUTTON, EDITTEXT, GROUPBOX, HEDIT, ICON, IEDIT, LISTBOX, LTEXT, PUSHBOX, PUSHBUTTON, RADIOBUTTON, RTEXT, SCROLLBAR, USERBUTTON.
1416

1517
Make sure these CONTROL statements are spelled correctly.

0 commit comments

Comments
 (0)