Registrations are now open. Join us today!
There is still a lot of work to do on the wiki yet! More information about editing can be found here.
Already have an account?

Microsoft KB Archive/106064

From BetaArchive Wiki

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


The information in this article applies to:

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


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


The resource compiler preprocessor follows C syntax. A newline character is required on a #define statement.


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.