On Thu, 2009-11-26 at 03:19 +0100, Jacek M. Holeczek wrote: > I am trying to parse a Microsoft Developer Studio generated resource > script with an arm mingw32ce windres (CeGCC version 0.55, I believe) > and it reports a syntax error in a DLGINIT resource: > > IDD_OPTREVIEW DLGINIT > BEGIN > IDC_ORTYPE, 0x403, 42, 0 > /* ERROR IN THIS LINE */ 0x003f, 0x003f, 0x003f, 0x003f, 0x003f, > 0x003f, 0x003f, 0x003f, > 0x0073, > 0x003f, 0x003f, 0x003f, 0x003f, 0x003f, 0x003f, 0x003f, 0x003f, 0x003f, > 0x0049, 0x0044, 0x0000, > 0 > END > > I checked that both identifiers, the IDD_OPTREVIEW and the IDC_ORTYPE, > are "#defined". > Could someone, please, tell me what's wrong?
I replaced IDC_ORTYPE by 1 for my test, and added a comma at the end of that same line. Success. I'd say the comma was the problem. windres - part of GNU binutils - is not good at reporting errors at all. Entirely my personal opinion of course. I've tried to do something about it but failed, so I don't feel I have the right to complain. Danny -- Danny Backx ; danny.backx - at - scarlet.be ; http://danny.backx.info ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Cegcc-devel mailing list Cegcc-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/cegcc-devel