Click here to Skip to main content
Click here to Skip to main content

Complier Error: RC1004

, 15 May 2011 CPOL
Rate this:
Please Sign up or sign in to vote.
Complier Error: RC1004
Full Error Name:
Resource Compiler Fatal Error RC1004
unexpected end of file found
 
To Fix:
Be sure to hit enter at the end of the last line in both the resource.h and the resource.rc files.
 
Example:
 
//resource.h
#define IDC_APPMENUS  100
#define IDM_EXIT      101
//a newline must be here

//resource.rc
#include resource.h

IDC_APPMENUS MENU
BEGIN
   POPUP "&File"
   BEGIN
      MENUITEM "E&xit", IDM_EXIT
   END
END
//a newline must also be here

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

Share

About the Author

Foothill
Software Developer (Junior)
United States United States
Currently attending college for a bachelor's in computer science.
Professional Experience
Languages: C++, C#, VB, .Net, SQL
Systems: MSSQL Database Architecture, Server Admin, MS System Center Admin(Service Manager)
Web: Asp.Net, Ajax, Web design and deployment
Other: MS Access guru

Comments and Discussions

 
-- There are no messages in this forum --
| Advertise | Privacy | Terms of Use | Mobile
Web02 | 2.8.141223.1 | Last Updated 15 May 2011
Article Copyright 2011 by Foothill
Everything else Copyright © CodeProject, 1999-2014
Layout: fixed | fluid