Error while creating a dialog box

Hello guys. Please help me find the mistake.
I'm trying to create a dialog box in VS2008 Win32 Project following the explanations of this www.winprog.org/tutorial/dialogs.html page.

Here is the code
1
2
3
4
5
6
7
8
9
10
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

The compiler tells me this:error RC2104 : undefined keyword or key name: IDC_STATIC

when i delete IDC_STATIC it gives me:
error RC2108 : expected numerical dialog constant
two tymes for the line which starts fwith CTEXT and for the END line.
What am i supposed to do? Please help me
Topic archived. No new replies allowed.