[Dev-C++] Parse error in resource file.
Open Source C & C++ IDE for Windows
Brought to you by:
claplace
|
From: Richard P. E. <ev...@ma...> - 2000-11-02 00:29:02
|
I get this message in the compile log when I try to compile my project:
Building resource file...
C:\DEV-C_~1\BIN\windres --include-dir C:\DEV-C_~1\INCLUDE\ --include-dir
C:\DEV-C_~1\INCLUDE\G__~1 --include-dir C:\DEV-C_~1\INCLUDE\ --use-temp-file
-I rc -O coff -i C:\DEV-C_~1\DIALOG\RSRC.RC -o c:\dev-c_~1\dialog\rsrc.o
I also get this message for the "resource":
C:\DEV-C_~1\BIN\windres: C:\\DEV-C_~1\\DIALOG\\RSRC.RC:14: parse error
The code follows below with added line numbers to relate to resource message.
Can anyone see what I'm not seeing? Help!
1 500 ICON MOVEABLE PURE LOADONCALL DISCARDABLE "Mainicon.ico"
2 #include <windows.h>
3 #include "main.h"
4
5 501 MENU
6 BEGIN
7 POPUP "&File"
8 BEGIN
9 MENUITEM "E&xit", CM_FILE_EXIT
10 END
11
12 POPUP "&Help"
13 BEGIN
14 MENUITEM "&About", CM_HELP_ABOUT
15 END
16 END
17 ABOUTDLG DIALOG 0, 0, 155, 102
18 STYLE DS_MODALFRAME | DS_3DLOOK | WS_POPUP | WS_VISIBLE
19 | WS_CAPTION | WS_SYSMENU
20 CAPTION "This is my About Box"
21 FONT 8, "MS Sans Serif"
22 {
23 CONTROL "&OK", IDOK, "BUTTON", BS_DEFPUSHBUTTON |
24 BS_CENTER | WS_CHILD | WS_VISIBLE |WS_TABSTOP,
25 6, 83, 50, 14
26 CONTROL "&Cancel", IDCANCEL, "BUTTON", BS_BUTTON |
27 BS_CENTER | WS_CHILD | WS_VISIBLE | WS_TABSTOP,
28 95, 83, 50, 14
29 CONTROL "About This Program", -1, "button", BS_GROUPBOX
30 | WS_CHILD | WS_VISIBLE | WS_GROUP, 5, 5, 144, 73
31 CONTROL "An example program showing how to use dialog
32 boxes.\r\n\r\nby the Forger", -1, "static", SS_CENTER
33 | WS_CHILD | WS_VISIBLE, 2,7, 27, 100, 50
34 }
|