PRB: RW1004 Error Due to Unexpected End of File (EOF)Last reviewed: November 2, 1995Article ID: Q106064 |
The information in this article applies to:
- Microsoft Win32 SDK, versions 3.1, 3.5, 3.51, and 4.0
SYMPTOMSThe resource compiler generates the following errors when the .RC file includes a .H file whose last line is a define (that is, there was no final carriage return at the end of the #define statement):
fatal error RC1004: unexpected EOF CAUSEThe resource compiler preprocessor follows C syntax. A newline character is required on a #define statement.
RESOLUTIONAdd a carriage return following the #define.
|
Additional reference words: 3.10 3.50 4.00 95
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |