i was just writing a test app in dev c++ and what i did was, of course, started and chose to have the WinAPI project. so then i looked in the folder in which i created the project file (.dev) and also there was a file called "rsrc.rc" which i believe is a resource file, rigth?

so i was planning on making a dialog to call from the main window and of course i need a resource file to put my dialog's scripting in it to get it out. so i wasnt sure if i should use this "already created" resource file or create a new one, so i just used this "rsrc.rc" file.

i looked in the resource and this was the first and only line in it:
Code:
500 ICON MOVEABLE PURE LOADONCALL DISCARDABLE "C:/Dev-C++/Bin/Mainicon.ico"
and then i just figured i would insert my dialog "code" in the resource file and after i finished that it looked like this:
Code:
500 ICON MOVEABLE PURE LOADONCALL DISCARDABLE "C:/Dev-C++/Bin/Mainicon.ico"

OptionsDlg DIALOG 0, 0, 200, 200
CAPTION "Quizer Options"
STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
{
 PUSHBUTTON "Okay", IDD_OKAY, 32, 40, 30, 14, WS_CHILD | WS_VISIBLE | WS_TABSTOP
}
and then i hit to build the resource and i got this error:

C:\DEV-C_~1\Bin\windres: C:\\Progs\\WinAPI\\TestAPI\\rsrc.rc:5: parse error

i'm not sure what to do from here. did i use the wrong .rc file? should i have created my own? if so, then why was this .rc file initially there? and what is this error "parse" and the fix to it?

thanks!