From: "Michael Foo" <fsh@jhancock.com.my>
To: gcc-help@gcc.gnu.org
Subject: about windres
Date: Thu, 10 Oct 2002 22:45:00 -0000 [thread overview]
Message-ID: <2D1E97D4E71@jhancock.com.my> (raw)
Hi,
I create the following .rc:
#include <windows.h>
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© 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
next reply other threads:[~2002-10-11 5:45 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-10-10 22:45 Michael Foo [this message]
[not found] <616BE6A276E3714788D2AC35C40CD18D86F6EF@whale.softwire.co.uk>
2002-10-11 1:57 ` Rupert Wood
-- strict thread matches above, loose matches on Subject: below --
2002-10-10 21:04 Michael Foo
2002-10-10 19:56 About windres Michael Foo
2002-10-10 19:53 Michael Foo
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=2D1E97D4E71@jhancock.com.my \
--to=fsh@jhancock.com.my \
--cc=gcc-help@gcc.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).