Click here to Skip to main content
11,581,982 members (80,240 online)
Click here to Skip to main content

Complier Error: RC1004

, 15 May 2011 CPOL 7.1K 3
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.


#define IDC_APPMENUS  100
#define IDM_EXIT      101
//a newline must be here

#include resource.h

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


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


About the Author

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

You may also be interested in...

Comments and Discussions

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