-
Notifications
You must be signed in to change notification settings - Fork 19
/
tclkit.rc
121 lines (101 loc) · 2.94 KB
/
tclkit.rc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
/* RCS: @(#) $Id: tclkit.rc,v 1.2 2006/01/12 09:00:23 jcw Exp $
*
* Version Resource Script
*
*/
#define RESOURCE_INCLUDED
#include <winver.h>
#include <tcl.h>
#ifdef TCLKIT_WITH_TK
#include <tk.h>
#endif
#define STRINGIFY1(x) #x
#define STRINGIFY(x) STRINGIFY1(x)
/*
* build-up the name suffix that defines the type of build this is.
*/
#ifdef TCL_THREADS
#define SUFFIX_THREADS "t"
#else
#define SUFFIX_THREADS ""
#endif
#if STATIC_BUILD
#define SUFFIX_STATIC "s"
#else
#define SUFFIX_STATIC ""
#endif
#ifdef DEBUG
#define SUFFIX_DEBUG "g"
#else
#define SUFFIX_DEBUG ""
#endif
#define SUFFIX SUFFIX_THREADS SUFFIX_STATIC SUFFIX_DEBUG
LANGUAGE 0x9, 0x1 /* LANG_ENGLISH, SUBLANG_DEFAULT */
VS_VERSION_INFO VERSIONINFO
#ifdef TCLKIT_WITH_TK
FILEVERSION TK_MAJOR_VERSION,TK_MINOR_VERSION,TK_RELEASE_LEVEL,TK_RELEASE_SERIAL
PRODUCTVERSION TK_MAJOR_VERSION,TK_MINOR_VERSION,TK_RELEASE_LEVEL,TK_RELEASE_SERIAL
#else
FILEVERSION TCL_MAJOR_VERSION,TCL_MINOR_VERSION,TCL_RELEASE_LEVEL,TCL_RELEASE_SERIAL
PRODUCTVERSION TCL_MAJOR_VERSION,TCL_MINOR_VERSION,TCL_RELEASE_LEVEL,TCL_RELEASE_SERIAL
#endif
FILEFLAGSMASK 0x3fL
#ifdef DEBUG
FILEFLAGS VS_FF_DEBUG
#else
FILEFLAGS 0x0L
#endif
FILEOS VOS__WINDOWS32
FILETYPE VFT_DLL
FILESUBTYPE 0x0L
BEGIN
BLOCK "StringFileInfo"
BEGIN
BLOCK "040904b0"
BEGIN
VALUE "FileDescription", "Tclkit, a standalone runtime for Tcl/Tk\0"
VALUE "OriginalFilename", "tclkit-gui.exe\0"
VALUE "CompanyName", "Equi4 Software\0"
VALUE "LegalCopyright", "Copyright \251 1989-2009 by J.Ousterhout et al.\0"
#ifdef TCLKIT_WITH_TK
VALUE "FileVersion", TK_PATCH_LEVEL
VALUE "ProductName", "Tclkit " TK_VERSION " for Windows\0"
VALUE "ProductVersion", TK_PATCH_LEVEL
#else
VALUE "FileVersion", TCL_PATCH_LEVEL
VALUE "ProductName", "Tclkit " TCL_VERSION " for Windows\0"
VALUE "ProductVersion", TCL_PATCH_LEVEL
#endif
VALUE "Comments", "Comments\0More Comments\0"
VALUE "Padding",
" "
" "
" "
" \0"
END
END
BLOCK "VarFileInfo"
BEGIN
VALUE "Translation", 0x409, 1200
END
END
/*
* Icon
*/
tk ICON DISCARDABLE "tclkit.ico"
#ifdef TCLKIT_WITH_TK
/*
* Include the base resources.
*/
#include "tk_base.rc"
/*
* This enables themed scrollbars in XP by trying to use comctl32 v6.
*/
#ifndef RT_MANIFEST
#define RT_MANIFEST 24
#endif
#ifndef CREATEPROCESS_MANIFEST_RESOURCE_ID
#define CREATEPROCESS_MANIFEST_RESOURCE_ID 1
#endif
CREATEPROCESS_MANIFEST_RESOURCE_ID RT_MANIFEST "wish.exe.manifest"
#endif