Results 1 to 3 of 3

Thread: help with header file

  1. #1

    Thread Starter
    Frenzied Member
    Join Date
    Aug 2000
    Posts
    1,091
    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

  2. #2
    Monday Morning Lunatic parksie's Avatar
    Join Date
    Mar 2000
    Location
    Mashin' on the motorway
    Posts
    8,169
    I'm sure generic.h is longer than that. My copy compiles fine
    I refuse to tie my hands behind my back and hear somebody say "Bend Over, Boy, Because You Have It Coming To You".
    -- Linus Torvalds

  3. #3
    Guest
    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....

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width