From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 20413 invoked by alias); 11 Oct 2002 02:56:11 -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 20404 invoked from network); 11 Oct 2002 02:56:09 -0000 Received: from unknown (HELO pop.jhancock.com.my) (203.106.242.82) by sources.redhat.com with SMTP; 11 Oct 2002 02:56:09 -0000 Received: (qmail 2903 invoked by uid 509); 11 Oct 2002 10:55:17 +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.768486 secs); 11 Oct 2002 02:55:17 -0000 Received: from unknown (HELO jhancock.com.my) (192.168.21.2) by 203.106.242.82 with SMTP; 11 Oct 2002 10:55:16 +0800 Received: from SERVER0/SpoolDir by jhancock.com.my (Mercury 1.44); 11 Oct 02 10:50:16 +0800 Received: from SpoolDir by SERVER0 (Mercury 1.44); 11 Oct 02 10:50:06 +0800 From: "Michael Foo" Organization: John Hancock Life Insurance (M) Bhd To: gcc-help@gcc.gnu.org Date: Thu, 10 Oct 2002 19:56: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: <2CF193D4296@jhancock.com.my> X-SW-Source: 2002-10/txt/msg00117.txt.bz2 Hi, Hi, I create the following .rc file: #include #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 -mwindows foo.res -mno-cygwin -o epos.exe md5.o foo.c 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