I am learning the win32 programming from the tutorial link at the Dev-C++ resource page...
while compiling a program that calls a Dialog in RC file, i got error like :
Parse Error (from windres)
this is my Dialog declaration in .RC :
ABOUTBOX DIALOG DISCARDABLE 32, 32, 180, 102
STYLE DS_MODALFRAME | WS_POPUP
FONT 8, "MS Sans Serif"
BEGIN
DEFPUSHBUTTON "OK",IDOK,66,81,50,14
ICON "ABOUT1",IDC_STATIC,7,7,21,20
CTEXT "About1",IDC_STATIC,40,12,100,8
CTEXT "About Box Demo Program",IDC_STATIC,7,40,166,8
CTEXT "(c) Charles Petzold, 1998",IDC_STATIC,7,52,166,8
END
Anyone can take a look at this?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I am learning the win32 programming from the tutorial link at the Dev-C++ resource page...
while compiling a program that calls a Dialog in RC file, i got error like :
Parse Error (from windres)
this is my Dialog declaration in .RC :
ABOUTBOX DIALOG DISCARDABLE 32, 32, 180, 102
STYLE DS_MODALFRAME | WS_POPUP
FONT 8, "MS Sans Serif"
BEGIN
DEFPUSHBUTTON "OK",IDOK,66,81,50,14
ICON "ABOUT1",IDC_STATIC,7,7,21,20
CTEXT "About1",IDC_STATIC,40,12,100,8
CTEXT "About Box Demo Program",IDC_STATIC,7,40,166,8
CTEXT "(c) Charles Petzold, 1998",IDC_STATIC,7,52,166,8
END
Anyone can take a look at this?