problem compiling resource file for dialog box

i try to compile a simple windows application but when i try to add the code for the dialog box i get a syntax error in the resource file. The code for the dialog box is this:

IDD_ABOUT DIALOG DISCARDABLE 0, 0, 239, 66
STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
CAPTION "My About Box"
FONT 8, "MS Sans Serif"
BEGIN
DEFPUSHBUTTON "&OK",IDOK,174,18,50,14
PUSHBUTTON "&Cancel",IDCANCEL,174,35,50,14
GROUPBOX "About this program...",IDC_STATIC,7,7,225,52
CTEXT "An example program showing how to use Dialog Boxes\r\n\r\nby theForger",
IDC_STATIC,16,18,144,33
END

(I' ve just began to learn windows programming but the code is from a tutorial so i suppose it should be correct)
I am using Dev-C++ 4.9.9.2. The syntax error that i get is in the style line.
Thanx in advance.
[914 byte] By [verbal] at [2007-11-20 11:41:49]
# 1 Re: problem compiling resource file for dialog box
It compiles fine. Just make sure you put it in the right spot. Examine your .rc file and see that the text is in an appropriate spot. Try.
ahoodin at 2007-11-9 13:32:51 >
# 2 Re: problem compiling resource file for dialog box
i tried several positions and i keep getting the same error ... could it be something relevant to my compiler?
Here is the complete resource file. i also tried putting the dialog part in another resource file and with reverse order.

#include "resource.h"

IDR_MYMENU MENU
BEGIN
POPUP "&File"
BEGIN
MENUITEM "E&xit", ID_FILE_EXIT
END

POPUP "&Stuff"
BEGIN
MENUITEM "&Go", ID_STUFF_GO
MENUITEM "G&o somewhere else", 0, GRAYED
END
END

IDD_ABOUT DIALOG DISCARDABLE 0, 0, 239, 66
STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
CAPTION "My About Box"
FONT 8, "MS Sans Serif"
BEGIN
DEFPUSHBUTTON "&OK",IDOK,174,18,50,14
PUSHBUTTON "&Cancel",IDCANCEL,174,35,50,14
GROUPBOX "About this program...",IDC_STATIC,7,7,225,52
CTEXT "An example program showing how to use Dialog Boxes\r\n\r\nby theForger",
IDC_STATIC,16,18,144,33
END
verbal at 2007-11-9 13:33:51 >
# 3 Re: problem compiling resource file for dialog box
Well I compiled it in an MFC project...that could be it.
ahoodin at 2007-11-9 13:34:59 >