Click here to Skip to main content
12,354,330 members (68,463 online)
Click here to Skip to main content
Add your own
alternative version

Tagged as

Stats

8.4K views
3 bookmarked
Posted

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 (Senior)
United States United States
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

You may also be interested in...

Comments and Discussions

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