Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , 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 Date: 10 Jan 2000 22:40:26 +0100 Message-ID: Lines: 27 User-Agent: Gnus/5.0802 (Gnus v5.8.2) Emacs/20.4 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii 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