This is the mail archive of the
mailing list for the Cygwin project.
- To: cygwin at cygwin dot com
- Subject: windres troubles...
- From: Marco Craveiro <soupdragon at clix dot pt>
- Date: 31 Aug 2001 02:55:25 +0100
i'm learning the windows API and while compiling my resource files
some problems cropped up with windres. i've checked your mailing list
and google for similar problems, lots of matches but nothing seems to
ring a bell. (it wasn't an exhaustive search, but bear in mind that
i've got a dialup connection :-)) i also couldn't find a more
appropriate place to post, so if there is one please point me in the
when i compile an example from the book, i get a "syntax error"
message; the same occurs with some resource code generated by the
lcc-win resource editor. It appears something in my dialog definitions
isn't quite right, but i can't see what.
My resource file, plus line numbering is:
1: #include "menu.h"
3: MyDb DIALOG 18, 18, 142, 92
4: CAPTION "test"
5: STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
7: DEFPUSHBUTTON "RED", IDD_RED, 32, 40, 30, 14, WS_CHILD | WS_VISIBLE
1:#define IDD_RED 100
when i compile, i get the following error message:
$ windres -i menu.rc -o menu.o
windres: menu.rc:5: syntax error
(i noticed that it compiles if i remove line 5 and comment out
everything after "14," onwards on line 7.)
i'm using GNU windres 2.10.91 and my cygwin install is oldish
(build date: Mon Dec 25 12:39:48 EST 2000).
many thanks for your time!
be as one already dead -- tokkotai saying
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html