Export (0) Print
Expand All
Expand Minimize
0 out of 1 rated this helpful - Rate this topic

Compiler Error C2002

Error Message

invalid wide-character constant

The multibyte-character constant was not legal.

To fix by checking the following possible causes

  1. The wide-character constant contains more bytes than expected.

  2. The standard header STDDEF.h is not included.

  3. Wide characters cannot be concatenated with ordinary string literals.

  4. A wide-character constant must be preceded by the character 'L':

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

© 2014 Microsoft. All rights reserved.