PDA

Click to See Complete Forum and Search --> : help with header file


softwareguy74
Jan 2nd, 2001, 12:16 AM
Hi,

I'm trying to learn VC++ by following a tutorial on the MSDN web site. However, I'm running into a problem. The header file named Generic.h looks like:

#define IDM_ABOUT 1000

But when I try and compile the program, it keeps telling me:

fatal error RC1004: unexpected end of file found

Any ideas what this is and how to fix it?

Thanks,

Dan

parksie
Jan 2nd, 2001, 12:15 PM
I'm sure generic.h is longer than that. My copy compiles fine :confused:

Jan 2nd, 2001, 03:54 PM
this always happens to me....

after the last line, hit the enter key,
always make sure there is a newline at the end of the file
it should compile fine after that....