This is the mail archive of the
cygwin
mailing list for the Cygwin project.
windres: zlib.rc:4: syntax error
- From: "Mathieu Malaterre" <mathieu dot malaterre at gmail dot com>
- To: cygwin at cygwin dot com
- Date: Wed, 21 Feb 2007 11:13:34 -0500
- Subject: windres: zlib.rc:4: syntax error
Hello there,
Has anyone of you any experience in using windres. I simply wanted
to try it out on a random res file. Here is what I get:
$ windres -i zlib.rc -o zlib.res
windres: zlib.rc:4: syntax error
Am I missing something here ? I could only find a very old post on that subject:
http://www.cygwin.com/ml/cygwin/1998-01/msg00600.html
Thanks
-Mathieu
$ cat zlib.rc
#include <windows.h>
#define IDR_VERSION1 1
IDR_VERSION1 VERSIONINFO MOVEABLE IMPURE LOADONCALL DISCARDABLE
FILEVERSION 1,1,3,0
PRODUCTVERSION 1,1,3,0
FILEFLAGSMASK VS_FFI_FILEFLAGSMASK
FILEFLAGS 0
FILEOS VOS_DOS_WINDOWS32
FILETYPE VFT_DLL
FILESUBTYPE 0 // not used
BEGIN
BLOCK "StringFileInfo"
BEGIN
BLOCK "040904E4"
//language ID = U.S. English, char set = Windows, Multilingual
BEGIN
VALUE "FileDescription", "zlib data compression library\0"
VALUE "FileVersion", "1.1.3\0"
VALUE "InternalName", "zlib\0"
VALUE "OriginalFilename", "zlib.dll\0"
VALUE "ProductName", "ZLib.DLL\0"
VALUE "Comments","DLL support by Alessandro Iacopetti & Gilles Vollant\0"
VALUE "LegalCopyright", "(C) 1995-1998 Jean-loup Gailly & Mark Adler\0"
END
END
BLOCK "VarFileInfo"
BEGIN
VALUE "Translation", 0x0409, 1252
END
END
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/