program icons and version info for Windows
Mon May 31 21:10:00 GMT 1999
On Tue, 11 May 1999, Charles Wilson wrote:
> Mumit Khan stated that egcs-1.1.2 has a newer windres than the stock
> cygwin-20.1, but I used egcs-1.1.2 to rebuild "run" last night and had
> no luck getting VersionInfo to work. However, the next cygwin release
> will contain an even newer version of windres, and Mumit promises that
> it will create VersionInfo resources properly.
Sorry, I should have been more clear. I did actually get the version info
stuff working eventually (with egcs 1.1.2) once your message told me what
to look for, after hacking around a bit and doing by example. Tacked onto
the end of this is the .rc file I currently have. I don't know exactly
what fields are required or what some of the more obscure variables mean;
I just know that it works as-is, and doesn't if I remove some of the
obscure stuff. (The joys of programming by example w/o any sort of
documentation... :) )
Paul A. | firstname.lastname@example.org | Johns Hopkins
Thiessen | http://grserv.med.jhmi.edu/~paul | University
My .rc file (some long lines may be wrapped in this message; *_VERSION
and PATCH_LEVEL #defined (as single unquoted digits) in version.h)
povchem ICON PRELOAD "povchem.ico"
#define STRINGIFY(x) STRINGIFY1(x)
#define STRINGIFY1(x) #x
FILEVERSION MAJOR_VERSION, MINOR_VERSION, PATCH_LEVEL, 0
PRODUCTVERSION MAJOR_VERSION, MINOR_VERSION, PATCH_LEVEL, 0
VALUE "FileDescription", "PovChem\0"
VALUE "FileVersion", STRINGIFY(MAJOR_VERSION) "."
STRINGIFY(MINOR_VERSION) "." STRINGIFY(PATCH_LEVEL) "\0"
VALUE "LegalCopyright", "Copyright \251 1999 by Paul A.
VALUE "Author", "Paul A. Thiessen\0"
VALUE "ProductName", "PovChem " STRINGIFY(MAJOR_VERSION) "."
STRINGIFY(MINOR_VERSION) "." STRINGIFY(PATCH_LEVEL) " for Windows\0"
VALUE "Translation", 0x409, 1200
Want to unsubscribe from this list?
Send a message to email@example.com
More information about the Cygwin