Date: Thu, 17 Nov 2005 16:01:01 -0800 (PST) From: "Paul J. Lucas" To: cygwin AT cygwin DOT com Subject: windres VERSIONINFO not working Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com I'm trying to use gcc and windres to build a small native Windows application. When compiling, I'm using -mno-cygwin; when linking, I'm using -mwindows. To generate a .res file from a .rc file, I'm using: windres -O coff $< $@ in my makefile. Everything seems to work and the generated executable also shows its icon as specified in the .rc file, but there's no version information tab in Windows explorer. My .rc file is below. Any ideas why this doesn't work and how to make it work? - Paul #include My_Icon ICON MyIcon.ico My_Version VERSIONINFO FILEVERSION 1,0,5,0 PRODUCTVERSION 1,0,5,0 FILEFLAGSMASK 0 FILEFLAGS 0 FILEOS VOS__WINDOWS32 FILETYPE VFT_APP FILESUBTYPE 0 { BLOCK "StringFileInfo" { BLOCK "0x040904E4" // U.S. English + Windows { VALUE "CompanyName", "My Company, Inc." VALUE "FileDescription", "Best application ever" VALUE "FileVersion", "1.0.5" VALUE "InternalName", "WIdget" VALUE "LegalCopyright", "Copyright \251 2005 Me." VALUE "OriginalFilename", "Widget.exe" VALUE "ProductName", "Widget" VALUE "ProductVersion", "1.0.5" } } BLOCK "VarFileInfo" { VALUE "Translation", 0x0409,0 } } /* vim:set et sw=4 ts=4: */ -- 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/