From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 29706 invoked by alias); 11 Oct 2002 05:45:21 -0000 Mailing-List: contact gcc-help-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-help-owner@gcc.gnu.org Received: (qmail 29601 invoked from network); 11 Oct 2002 05:45:19 -0000 Received: from unknown (HELO pop.jhancock.com.my) (203.106.242.82) by sources.redhat.com with SMTP; 11 Oct 2002 05:45:19 -0000 Received: (qmail 6499 invoked by uid 509); 11 Oct 2002 13:44:27 +0800 Received: from fsh@jhancock.com.my by pop.jhancock.com.my by uid 506 with qmail-scanner-1.10 (uvscan: v4.1.60/v4228. . Clear:0. Processed in 0.76123 secs); 11 Oct 2002 05:44:27 -0000 Received: from unknown (HELO jhancock.com.my) (192.168.21.2) by 203.106.242.82 with SMTP; 11 Oct 2002 13:44:26 +0800 Received: from SERVER0/SpoolDir by jhancock.com.my (Mercury 1.44); 11 Oct 02 13:39:24 +0800 Received: from SpoolDir by SERVER0 (Mercury 1.44); 11 Oct 02 13:38:53 +0800 From: "Michael Foo" Organization: John Hancock Life Insurance (M) Bhd To: gcc-help@gcc.gnu.org Date: Thu, 10 Oct 2002 22:45:00 -0000 MIME-Version: 1.0 Content-type: text/plain; charset=ISO-8859-1 Content-transfer-encoding: Quoted-printable Subject: about windres Priority: normal Message-ID: <2D1E97D4E71@jhancock.com.my> X-SW-Source: 2002-10/txt/msg00119.txt.bz2 Hi, I create the following .rc: #include 2 ICON "icons/Ampempty.ico" 1 VERSIONINFO FILEVERSION 1,1,0,0 PRODUCTVERSION 1,0,0,0 FILEOS VOS__WINDOWS32 { BLOCK "StringFileInfo"{ BLOCK "0x0409"{ VALUE "Comment", "This is testing program" VALUE "CompanyName","Imaginary Company" VALUE "FileDescription", "Experiment program" VALUE "FileVersion", "Build Ver1.0" VALUE "LegalCopyright","Copyright=A9 foo" VALUE "OriginalFilename","foo.exe" VALUE "ProductName", "FOO" VALUE "ProductVersion", "P2D2" } } } I used windres to compile this script: windres foo.rc -O coff -o foo.res Then I compile my c source(foo.c) : gcc -s -mwindows foo.res md5.o foo.c -mno-cygwin -e _mainCRTStartup -o epos.exe However, I only see the icon to my executable. But when I right- clicked to view the property of the executable. Under the Version tab of the Property, I see no info printed and totally blank. Why is it so? Is it my .rc file wrong or my compilation is not linking to the res file? Thank you in advance. :) Regards Michael