1// RCS: @(#) $Id: tk.rc,v 1.9 2002/06/18 00:34:45 davygrvy Exp $ 2// 3// Version Resource Script 4// 5 6#include <windows.h> 7#include <tk.h> 8 9// 10// build-up the name suffix that defines the type of build this is. 11// 12#ifdef TCL_THREADS 13#define SUFFIX_THREADS "t" 14#else 15#define SUFFIX_THREADS "" 16#endif 17 18#ifdef DEBUG 19#define SUFFIX_DEBUG "d" 20#else 21#define SUFFIX_DEBUG "" 22#endif 23 24#define SUFFIX SUFFIX_THREADS SUFFIX_DEBUG 25 26 27VS_VERSION_INFO VERSIONINFO 28 FILEVERSION TK_MAJOR_VERSION,TK_MINOR_VERSION,TK_RELEASE_LEVEL,TK_RELEASE_SERIAL 29 PRODUCTVERSION TK_MAJOR_VERSION,TK_MINOR_VERSION,TK_RELEASE_LEVEL,TK_RELEASE_SERIAL 30 FILEFLAGSMASK 0x3fL 31#ifdef DEBUG 32 FILEFLAGS VS_FF_DEBUG 33#else 34 FILEFLAGS 0x0L 35#endif 36 FILEOS VOS__WINDOWS32 37 FILETYPE VFT_DLL 38 FILESUBTYPE 0x0L 39BEGIN 40 BLOCK "StringFileInfo" 41 BEGIN 42 BLOCK "040904b0" 43 BEGIN 44 VALUE "FileDescription", "Tk DLL\0" 45 VALUE "OriginalFilename", "tk" STRINGIFY(JOIN(TK_MAJOR_VERSION,TK_MINOR_VERSION)) SUFFIX ".dll\0" 46 VALUE "CompanyName", "ActiveState Corporation\0" 47 VALUE "FileVersion", TK_PATCH_LEVEL 48 VALUE "LegalCopyright", "Copyright \251 2001 by ActiveState Corporation, et al\0" 49 VALUE "ProductName", "Tk " TK_VERSION " for Windows\0" 50 VALUE "ProductVersion", TK_PATCH_LEVEL 51 END 52 END 53 BLOCK "VarFileInfo" 54 BEGIN 55 VALUE "Translation", 0x409, 1200 56 END 57END 58 59// 60// Include the base resources. 61// 62 63#include "tk_base.rc" 64 65// 66// This enables themed scrollbars in XP by trying to use comctl32 v6. 67// 68 69#ifndef RT_MANIFEST 70#define RT_MANIFEST 24 71#endif 72#ifndef CREATEPROCESS_MANIFEST_RESOURCE_ID 73#define CREATEPROCESS_MANIFEST_RESOURCE_ID 1 74#endif 75CREATEPROCESS_MANIFEST_RESOURCE_ID RT_MANIFEST "wish.exe.manifest" 76 77