Microsoft KB Archive/106064: Difference between revisions

From BetaArchive Wiki
(stage2)
 
m (1 revision imported: importing part 2)
 
(No difference)

Latest revision as of 21:58, 16 July 2020

PRB: RW1004 Error Due to Unexpected End of File (EOF)

Q106064



The information in this article applies to:


  • Microsoft Win32 Software Development Kit (SDK), versions 3.1, 3.5, 3.51, 4.0





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 :
Issue type :
Technology : kbWin32SDKSearch kbAudDeveloper kbSDKSearch kbWin32sSearch kbWin32SDK400 kbWin32SDK310 kbWin32SDK350 kbWin32SDK351


Last Reviewed: January 12, 2000
© 2001 Microsoft Corporation. All rights reserved. Terms of Use.