Weird compile error *newbie to Win32*
hey, i'm trying to teach myself win32 api programming because i dont want to be stuck in a command prompt any longer :) but i'm reading a tutorial on winprog.org and when compiling some code in a resource file, i'm getting a compiler error. I use Dev-C++..
Code:
IDD_ABOUTDLG DIALOG DISCARDABLE 0, 0, 239, 66
STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION
CAPTION ". About ."
FONT 8, "Century Gothic"
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 "My venture into the world of Win32 API Programming.", IDC_STATIC,16,18,144,33
END
<error>[Resource error] syntax error
[Build Error] [WinTest02_private.res] Error 1
or more detailed..i hope?
windres.exe -i WinTest02_private.rc --input-format=rc -o WinTest02_private.res -O coff
windres.exe: icon.rc:27: syntax error
make.exe: *** [WinTest02_private.res] Error 1
Execution terminated</error>
also, what compiler options should i set? thanks