[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug binutils/13051] New: windres fails on reading VERSIONINFO with mult
From: |
player1 at onet dot eu |
Subject: |
[Bug binutils/13051] New: windres fails on reading VERSIONINFO with multiple language BLOCKS |
Date: |
Tue, 2 Aug 2011 18:32:03 +0000 |
http://sourceware.org/bugzilla/show_bug.cgi?id=13051
Summary: windres fails on reading VERSIONINFO with multiple
language BLOCKS
Product: binutils
Version: 2.21
Status: NEW
Severity: normal
Priority: P2
Component: binutils
AssignedTo: address@hidden
ReportedBy: address@hidden
Created attachment 5871
--> http://sourceware.org/bugzilla/attachment.cgi?id=5871
windres patch to solve the VERSIONINFO bug
The current version of windres does not support multiple language blocks inside
single StringFileInfo block.
Example:
windres.exe -i version.rc -J rc -o test.res -O coff -c 65001
windres.exe: version.rc: 30 syntax error
Source of version.rc:
LANGUAGE LANG_NEUTRAL, SUBLANG_NEUTRAL
VS_VERSION_INFO VERSIONINFO
FILEVERSION 1,0,0,0
PRODUCTVERSION 1,0,0,0
FILEOS VOS_NT_WINDOWS32
FILETYPE VFT_APP
FILESUBTYPE VFT2_UNKNOWN
FILEFLAGSMASK 0x0000003f
FILEFLAGS 0x00000000
{
BLOCK "StringFileInfo"
{
BLOCK "041504b0"
{
VALUE "FileDescription", "Polish test"
VALUE "FileVersion", "1, 0, 0, 0"
VALUE "InternalName", "test.exe"
VALUE "OriginalFilename", "test.exe"
VALUE "ProductName", "Test"
VALUE "ProductVersion", "1, 0, 0, 0"
}
BLOCK "040904b0"
{
VALUE "FileDescription", "English test"
VALUE "FileVersion", "1, 0, 0, 0"
VALUE "InternalName", "test.exe"
VALUE "OriginalFilename", "test.exe"
VALUE "ProductName", "Test"
VALUE "ProductVersion", "1, 0, 0, 0"
}
}
BLOCK "VarFileInfo"
{
VALUE "Translation", 0x0415, 0x04b0, 0x0409, 0x04b0
}
}
Additional info:
http://msdn.microsoft.com/en-us/library/cc194812.aspx
I've made a patch to solve this problem. It is attached below.
--
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
- [Bug binutils/13051] New: windres fails on reading VERSIONINFO with multiple language BLOCKS,
player1 at onet dot eu <=
- [Bug binutils/13051] windres fails on reading VERSIONINFO with multiple language BLOCKS, player1 at onet dot eu, 2011/08/02
- [Bug binutils/13051] windres fails on reading VERSIONINFO with multiple language BLOCKS, player1 at onet dot eu, 2011/08/02
- [Bug binutils/13051] windres fails on reading VERSIONINFO with multiple language BLOCKS, player1 at onet dot eu, 2011/08/02
- [Bug binutils/13051] windres fails on reading VERSIONINFO with multiple language BLOCKS, player1 at onet dot eu, 2011/08/02
- [Bug binutils/13051] windres fails on reading VERSIONINFO with multiple language BLOCKS, player1 at onet dot eu, 2011/08/02
- [Bug binutils/13051] windres fails on reading VERSIONINFO with multiple language BLOCKS, nickc at redhat dot com, 2011/08/12
- [Bug binutils/13051] windres fails on reading VERSIONINFO with multiple language BLOCKS, player1 at onet dot eu, 2011/08/18
- [Bug binutils/13051] windres fails on reading VERSIONINFO with multiple language BLOCKS, player1 at onet dot eu, 2011/08/18
- [Bug binutils/13051] windres fails on reading VERSIONINFO with multiple language BLOCKS, player1 at onet dot eu, 2011/08/18