delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1998/11/17/05:39:41

From: jens DOT yllman AT uniweb DOT se (Jens Yllman)
Subject: B20: Bug in windres???
17 Nov 1998 05:39:41 -0800 :
Message-ID: <36512DE3.5C14DB45.cygnus.gnu-win32@uniweb.se>
Mime-Version: 1.0
To: gnu-win32 AT cygnus DOT com

 Hello,

 I have a problem with windres. I "compile" a .rc that looks like this:

#include <windows.h>

#define VERSIONINFO_1	1

VERSIONINFO_1 VERSIONINFO 
FILEVERSION 0, 1, 0, 0
PRODUCTVERSION 0, 1, 0, 0
FILEOS VOS_NT_WINDOWS32
FILETYPE VFT_APP
BEGIN
 BLOCK "StringFileInfo"
 BEGIN
  BLOCK "041d04b0"
  BEGIN
   VALUE "CompanyName", "Jens Yllman\0"
   VALUE "FileDescription", "A small wallpaper changer.\0"
   VALUE "FileVersion", "0.1\0"
   VALUE "InternalName", "swwall\0"
   VALUE "LegalCopyright", "Copyright © Jens Yllman 1998\0"
   VALUE "OriginalFilename", "swwall.exe\0"
  END
 END

 BLOCK "VarFileInfo"
 BEGIN
  VALUE "Translation", 0x41d, 1200
 END
END

 The command line I use look like this:

windres -i ver.rc -o ver.o

 And the "compile" seems do work ok. And when I link it to my .exe it
works ok to. And when I do "properties" on the .exe in Explorer I now
have a "Version" page. But this page does not contain the information I
have put in the ver.rc. It is empty.

 Anybody know how to get version info into you .exe using gnu-win32???

 Or maybe someone know if this is a bug???

 Jens Yllman
------------------------------------------------------------
Uniweb AB                            Phone:  +46 8 626 42 00
P O Box 745                          FAX:    +46 8 626 42 01
S-191 27  SOLLENTUNA
SWEDEN                               http://www.uniweb.se/
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request AT cygnus DOT com" with one line of text: "help".

- Raw text -


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