PRB: RW1004 Error Due to Unexpected End of File (EOF)
Article ID: 106064
Article Last Modified on 1/12/2000
APPLIES TO
- Microsoft Win32 Software Development Kit (SDK) 3.1
- Microsoft Win32 Software Development Kit (SDK) 3.5
- Microsoft Win32 Software Development Kit (SDK) 3.51
- Microsoft Win32 Software Development Kit (SDK) 4.0
This article was previously published under Q106064
SYMPTOMS
The 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
CAUSE
The resource compiler preprocessor follows C syntax. A newline character is
required on a #define statement.
RESOLUTION
Add a carriage return following the #define.
Additional query words: 3.10 3.50 4.00 95
Keywords: KB106064