Skip to content

Latest commit

 

History

History
21 lines (15 loc) · 863 Bytes

resource-compiler-error-rc2001.md

File metadata and controls

21 lines (15 loc) · 863 Bytes
description title ms.date f1_keywords helpviewer_keywords ms.assetid
Learn more about: Resource Compiler Error RC2001
Resource Compiler Error RC2001
11/04/2016
RC2001
RC2001
92bfb4c0-1879-4606-bb9f-ef7368707b4a

Resource Compiler Error RC2001

newline in constant

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

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

  • End the first line with the line-continuation character, a backslash.

  • Close the string on the first line with a double quotation mark and open the string on the next line with another quotation mark.

It is not sufficient to end the first line with \n, the escape sequence for embedding a newline character in a string constant.