delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2000/01/10/16:41:51

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sourceware DOT cygnus DOT com>
List-Archive: <http://sourceware.cygnus.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sourceware DOT cygnus DOT com>
List-Help: <mailto:cygwin-help AT sourceware DOT cygnus DOT com>, <http://sourceware.cygnus.com/ml/#faqs>
Sender: cygwin-owner AT sourceware DOT cygnus DOT com
Delivered-To: mailing list cygwin AT sourceware DOT cygnus DOT com
To: cygwin AT sourceware DOT cygnus DOT com
Subject: windres and an icon in a dialog
From: Sascha Ziemann <szi AT khs-ag DOT de>
Date: 10 Jan 2000 22:40:26 +0100
Message-ID: <m31z7pehbp.fsf@intra.do.khs-ag.de>
Lines: 27
User-Agent: Gnus/5.0802 (Gnus v5.8.2) Emacs/20.4
MIME-Version: 1.0

Hi,

I am doing my fist W32 programming steps with a mingw32 cross
compiler.  I tried an example from Charles Petzold's "Windows
Programming":

42 ABOUT_WINDOW DIALOG DISCARDABLE 32, 32, 180, 100
43 STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION
44 CAPTION "The caption"
45 FONT 8, "MS Sans Serif"
46 BEGIN
47      DEFPUSHBUTTON   "Ok", IDOK, 66, 80, 50, 14
48      ICON            "ABOUT1", IDC_STATIC, 7, 7, 21, 20
49      CTEXT           "First text", IDC_STATIC, 40, 12, 100, 8
50      CTEXT           "Second text", IDC_STATIC, 7, 52, 166, 8
51 END
52 
53 ABOUT1 ICON DISCARDABLE "an_icon.ico"

When I try to compile it, I get the following error:

i386-mingw32msvc-windres: resources.de.rc:49: parse error

The error message is quite short.  Does anybody know what is wrong
with the code?

Sascha


--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019