PRB: RW1004 Error Due to Unexpected End of File (EOF) (106064)
The information in this article 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.
Modification Type: | Major | Last Reviewed: | 1/12/2000 |
---|
Keywords: | KB106064 |
---|
|