0

This is my resource file for a program:

#include "resource.h"

//
IDR_MYMENU MENU

BEGIN
    
  POPUP "&File" //<=error is here
    BEGIN
      MENUITEM "&Refresh", ID_PROG_REFRESH
      MENUITEM "E&xit", ID_FILE_EXIT
    END

  POPUP "&Edit"
    BEGIN
      MENUITEM "&Options", ID_PROG_OPTIONS
    END

  POPUP "&About"
    BEGIN
      MENUITEM "A&bout AC", ID_PROG_ABOUT
    END

END

I've Checked the above over and over again, but can't seem to find a problem with it, but I keep getting an error message from Dev-Cpp: [Resource error] syntax error Could anyone point out how and where this goes wrong?

Thanks

2
Contributors
2
Replies
3
Views
9 Years
Discussion Span
Last Post by amrith92
0

Hey buddy why did you write it in c++ forum? You don't understand difference between c++ & shell scripting ?

This is a part of my c++ project, all it is a resource(a file defining something like a menu,here) and I just wanted to know why Dev-cpp turned this up as an error, when I can't see why. My C++ program is Win-32 API based and this is the simplest method for creating a menu.

If you want to know how this is connected, see this site

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.