Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,14 +1,15 @@
---
description: "Learn more about: Resource Compiler Error RC2001"
title: "Resource Compiler Error RC2001"
ms.date: "11/04/2016"
description: "Learn more about: Resource Compiler Error RC2001"
ms.date: 11/04/2016
f1_keywords: ["RC2001"]
helpviewer_keywords: ["RC2001"]
ms.assetid: 92bfb4c0-1879-4606-bb9f-ef7368707b4a
---
# Resource Compiler Error RC2001

newline in constant
> newline in constant

## Remarks

A string constant was continued on a second line without either a backslash (**\\**) or closing and opening double quotation marks (**"**).

Expand Down
Original file line number Diff line number Diff line change
@@ -1,13 +1,14 @@
---
description: "Learn more about: Resource Compiler Error RC2007"
title: "Resource Compiler Error RC2007"
ms.date: "11/04/2016"
description: "Learn more about: Resource Compiler Error RC2007"
ms.date: 11/04/2016
f1_keywords: ["RC2007"]
helpviewer_keywords: ["RC2007"]
ms.assetid: a616e506-bef2-4155-9fe0-dbccac8954d3
---
# Resource Compiler Error RC2007

\#define syntax
> #define syntax

## Remarks

An identifier was expected following `#define` in a preprocessing directive.
Original file line number Diff line number Diff line change
@@ -1,14 +1,15 @@
---
description: "Learn more about: Resource Compiler Error RC2015"
title: "Resource Compiler Error RC2015"
ms.date: "11/04/2016"
description: "Learn more about: Resource Compiler Error RC2015"
ms.date: 11/04/2016
f1_keywords: ["RC2015"]
helpviewer_keywords: ["RC2015"]
ms.assetid: 99691683-fb9e-4e61-beb1-12e484858570
---
# Resource Compiler Error RC2015

too many chars in constant
> too many chars in constant

## Remarks

A character constant contained more than two characters.

Expand Down
Original file line number Diff line number Diff line change
@@ -1,14 +1,15 @@
---
description: "Learn more about: Resource Compiler Error RC2017"
title: "Resource Compiler Error RC2017"
ms.date: "11/04/2016"
description: "Learn more about: Resource Compiler Error RC2017"
ms.date: 11/04/2016
f1_keywords: ["RC2017"]
helpviewer_keywords: ["RC2017"]
ms.assetid: 5fcc0135-cd60-4b1d-a7dd-8a4f2312697b
---
# Resource Compiler Error RC2017

illegal escape sequence
> illegal escape sequence

## Remarks

An escape sequence appeared where one was not expected.

Expand Down
Original file line number Diff line number Diff line change
@@ -1,14 +1,15 @@
---
description: "Learn more about: Resource Compiler Error RC2101"
title: "Resource Compiler Error RC2101"
ms.date: "11/04/2016"
description: "Learn more about: Resource Compiler Error RC2101"
ms.date: 11/04/2016
f1_keywords: ["RC2101"]
helpviewer_keywords: ["RC2101"]
ms.assetid: 580f9d74-162f-41e9-9438-ddbe3457c359
---
# Resource Compiler Error RC2101

Invalid directive in preprocessed RC file
> Invalid directive in preprocessed RC file

## Remarks

The Resource Compiler file contains a **#pragma** directive.

Expand Down
Original file line number Diff line number Diff line change
@@ -1,13 +1,14 @@
---
description: "Learn more about: Resource Compiler Error RC2103"
title: "Resource Compiler Error RC2103"
ms.date: "11/04/2016"
description: "Learn more about: Resource Compiler Error RC2103"
ms.date: 11/04/2016
f1_keywords: ["RC2103"]
helpviewer_keywords: ["RC2103"]
ms.assetid: eedf2366-d1c3-4e7e-815c-d367d976b3f6
---
# Resource Compiler Error RC2103

unexpected end of file in string literal
> unexpected end of file in string literal

## Remarks

An end of file was found before the end of a string. The string is probably missing a closing double quotation mark (**"**).
Original file line number Diff line number Diff line change
@@ -1,14 +1,15 @@
---
description: "Learn more about: Resource Compiler Error RC2104"
title: "Resource Compiler Error RC2104"
ms.date: "11/04/2016"
description: "Learn more about: Resource Compiler Error RC2104"
ms.date: 11/04/2016
f1_keywords: ["RC2104"]
helpviewer_keywords: ["RC2104"]
ms.assetid: 792a3bd8-cb4c-4817-b288-4ce37082b582
---
# Resource Compiler Error RC2104

undefined keyword or key name: key
> undefined keyword or key name: key

## Remarks

The specified keyword or key name is not defined.

Expand Down
Original file line number Diff line number Diff line change
@@ -1,13 +1,14 @@
---
description: "Learn more about: Resource Compiler Error RC2107"
title: "Resource Compiler Error RC2107"
ms.date: "11/04/2016"
description: "Learn more about: Resource Compiler Error RC2107"
ms.date: 11/04/2016
f1_keywords: ["RC2107"]
helpviewer_keywords: ["RC2107"]
ms.assetid: f1786128-aa86-4cdb-a095-05a0b66b5608
---
# Resource Compiler Error RC2107

**expected numeric command value**
> expected numeric command value

## Remarks

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.
Original file line number Diff line number Diff line change
@@ -1,13 +1,14 @@
---
description: "Learn more about: Resource Compiler Error RC2109"
title: "Resource Compiler Error RC2109"
ms.date: "11/04/2016"
description: "Learn more about: Resource Compiler Error RC2109"
ms.date: 11/04/2016
f1_keywords: ["RC2109"]
helpviewer_keywords: ["RC2109"]
ms.assetid: b800aa67-33c0-42f5-81a2-7a64a3b6b824
---
# Resource Compiler Error RC2109

expected numerical dialog constant
> expected numerical dialog constant

## Remarks

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.
Original file line number Diff line number Diff line change
@@ -1,14 +1,15 @@
---
description: "Learn more about: Resource Compiler Error RC2111"
title: "Resource Compiler Error RC2111"
ms.date: "11/04/2016"
description: "Learn more about: Resource Compiler Error RC2111"
ms.date: 11/04/2016
f1_keywords: ["RC2111"]
helpviewer_keywords: ["RC2111"]
ms.assetid: 118cba57-82a4-4199-acf4-9d9561946218
---
# Resource Compiler Error RC2111

invalid control type
> invalid control type

## Remarks

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.

Expand Down
Original file line number Diff line number Diff line change
@@ -1,13 +1,14 @@
---
description: "Learn more about: Resource Compiler Error RC2112"
title: "Resource Compiler Error RC2112"
ms.date: "11/04/2016"
description: "Learn more about: Resource Compiler Error RC2112"
ms.date: 11/04/2016
f1_keywords: ["RC2112"]
helpviewer_keywords: ["RC2112"]
ms.assetid: e9f29540-a90d-4989-a6e8-5f8f32015bd9
---
# Resource Compiler Error RC2112

BEGIN expected in dialog
> BEGIN expected in dialog

## Remarks

The **BEGIN** keyword must immediately follow the **DIALOG** keyword.
Original file line number Diff line number Diff line change
@@ -1,13 +1,14 @@
---
description: "Learn more about: Resource Compiler Error RC2113"
title: "Resource Compiler Error RC2113"
ms.date: "11/04/2016"
description: "Learn more about: Resource Compiler Error RC2113"
ms.date: 11/04/2016
f1_keywords: ["RC2113"]
helpviewer_keywords: ["RC2113"]
ms.assetid: cbf52e93-ab14-49b7-9ce8-fb55877602ec
---
# Resource Compiler Error RC2113

END expected in dialog
> END expected in dialog

## Remarks

The **END** keyword must occur at the end of a **DIALOG** statement. Make sure there are no open quotes left from the preceding statement.
Original file line number Diff line number Diff line change
@@ -1,13 +1,14 @@
---
description: "Learn more about: Resource Compiler Error RC2114"
title: "Resource Compiler Error RC2114"
ms.date: "11/04/2016"
description: "Learn more about: Resource Compiler Error RC2114"
ms.date: 11/04/2016
f1_keywords: ["RC2114"]
helpviewer_keywords: ["RC2114"]
ms.assetid: abdfdc46-6601-451f-8e81-81e92bcd2208
---
# Resource Compiler Error RC2114

expected control class name
> expected control class name

## Remarks

The `class` field of a CONTROL statement in the **DIALOG** statement must be one of the following types: BUTTON, COMBOBOX, EDIT, LISTBOX, SCROLLBAR, STATIC, or user-defined. Make sure the class is spelled correctly.
Original file line number Diff line number Diff line change
@@ -1,13 +1,14 @@
---
description: "Learn more about: Resource Compiler Error RC2116"
title: "Resource Compiler Error RC2116"
ms.date: "11/04/2016"
description: "Learn more about: Resource Compiler Error RC2116"
ms.date: 11/04/2016
f1_keywords: ["RC2116"]
helpviewer_keywords: ["RC2116"]
ms.assetid: d9203ddf-798d-490b-be41-0dd3f7d53653
---
# Resource Compiler Error RC2116

expecting number for ID
> expecting number for ID

## Remarks

Expecting a number for the `id` field of a control statement in the **DIALOG** statement. Make sure you have a number or `#define` statement for the control ID.
Original file line number Diff line number Diff line change
@@ -1,13 +1,14 @@
---
description: "Learn more about: Resource Compiler Error RC2122"
title: "Resource Compiler Error RC2122"
ms.date: "11/04/2016"
description: "Learn more about: Resource Compiler Error RC2122"
ms.date: 11/04/2016
f1_keywords: ["RC2122"]
helpviewer_keywords: ["RC2122"]
ms.assetid: c2f02ec1-1ce8-4a13-b35e-7cd416fa9f41
---
# Resource Compiler Error RC2122

unknown menu subtype
> unknown menu subtype

## Remarks

The *item-definition* field of the **MENU** statement can contain only **MENUITEM** and **POPUP** statements.
Original file line number Diff line number Diff line change
@@ -1,13 +1,14 @@
---
description: "Learn more about: Resource Compiler Error RC2124"
title: "Resource Compiler Error RC2124"
ms.date: "11/04/2016"
description: "Learn more about: Resource Compiler Error RC2124"
ms.date: 11/04/2016
f1_keywords: ["RC2124"]
helpviewer_keywords: ["RC2124"]
ms.assetid: 4eb5c4ec-ca9b-46a0-805b-35e040e9ed41
---
# Resource Compiler Error RC2124

empty menus not allowed
> empty menus not allowed

## Remarks

An **END** keyword appears before any menu items are defined in the **MENU** statement. The Resource Compiler does not permit empty menus. Make sure you do not have any open quotation marks within the **MENU** statement.
Original file line number Diff line number Diff line change
@@ -1,13 +1,14 @@
---
description: "Learn more about: Resource Compiler Error RC2127"
title: "Resource Compiler Error RC2127"
ms.date: "11/04/2016"
description: "Learn more about: Resource Compiler Error RC2127"
ms.date: 11/04/2016
f1_keywords: ["RC2127"]
helpviewer_keywords: ["RC2127"]
ms.assetid: 13c1599d-ac4c-4044-a59a-48e69511ef7e
---
# Resource Compiler Error RC2127

version WORDs separated by commas expected
> version WORDs separated by commas expected

## Remarks

Version numbers in a version resource should be of type **WORD**, and separated by commas.
Original file line number Diff line number Diff line change
@@ -1,14 +1,15 @@
---
description: "Learn more about: Resource Compiler Error RC2135"
title: "Resource Compiler Error RC2135"
ms.date: "11/04/2016"
description: "Learn more about: Resource Compiler Error RC2135"
ms.date: 11/04/2016
f1_keywords: ["RC2135"]
helpviewer_keywords: ["RC2135"]
ms.assetid: 1509a0fa-1cb7-4654-bcb3-ad5ac973e659
---
# Resource Compiler Error RC2135

file not found: filename
> file not found: filename

## Remarks

The file specified in the Resource Compiler command line was not found. Check to see whether the file has been moved to another directory and whether the file name and path are typed correctly.

Expand Down
Original file line number Diff line number Diff line change
@@ -1,14 +1,15 @@
---
description: "Learn more about: Resource Compiler Error RC2144"
title: "Resource Compiler Error RC2144"
ms.date: "11/04/2016"
description: "Learn more about: Resource Compiler Error RC2144"
ms.date: 11/04/2016
f1_keywords: ["RC2144"]
helpviewer_keywords: ["RC2144"]
ms.assetid: 1b3ff39a-92cd-4a04-b1a3-b1fa6a805813
---
# Resource Compiler Error RC2144

PRIMARY LANGUAGE ID not a number
> PRIMARY LANGUAGE ID not a number

## Remarks

The PRIMARY LANGUAGE ID must be a hexadecimal language ID. See [Language and Country/Region Strings](../../c-runtime-library/locale-names-languages-and-country-region-strings.md) in the *Run-Time Library Reference* for a list of valid Language IDs.

Expand Down
Original file line number Diff line number Diff line change
@@ -1,14 +1,15 @@
---
description: "Learn more about: Resource Compiler Error RC2147"
title: "Resource Compiler Error RC2147"
ms.date: "11/04/2016"
description: "Learn more about: Resource Compiler Error RC2147"
ms.date: 11/04/2016
f1_keywords: ["RC2147"]
helpviewer_keywords: ["RC2147"]
ms.assetid: 09974f06-1731-4e70-b373-f9218e0ee8d9
---
# Resource Compiler Error RC2147

SUBLANGUAGE ID not a number
> SUBLANGUAGE ID not a number

## Remarks

The SUBLANGUAGE ID value must be a number.

Expand Down
Loading