-
Notifications
You must be signed in to change notification settings - Fork 36
/
sqlite3odbc.rc
166 lines (156 loc) · 7.03 KB
/
sqlite3odbc.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
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
#include <winresrc.h>
#include <winver.h>
#include "resource3.h"
#include "sqlite3.h"
#ifndef SQLITE_VERSION
#define SQLITE_VERSION "?.?.?"
#endif
/////////////////////////////////////////////////////////////////////////////
//
// Dialog
//
DRIVERCONNECT DIALOG DISCARDABLE 65, 43, 277, 206
STYLE DS_MODALFRAME | DS_CENTER | WS_POPUP | WS_VISIBLE | WS_CAPTION |
WS_SYSMENU
CAPTION "SQLite3 ODBC Driver Connect"
FONT 8, "MS Sans Serif"
BEGIN
EDITTEXT IDC_DSNAME,82,20,140,12,ES_AUTOHSCROLL | WS_GROUP
EDITTEXT IDC_DBNAME,82,36,140,12,ES_AUTOHSCROLL
PUSHBUTTON "Browse...",IDC_BROWSE,225,35,40,14
EDITTEXT IDC_TONAME,82,51,53,12,ES_AUTOHSCROLL
CONTROL "No TXN",IDC_NOTXN,"Button",BS_AUTOCHECKBOX |
WS_TABSTOP,170,50,52,15
CONTROL "Step API",IDC_STEPAPI,"Button",BS_AUTOCHECKBOX |
WS_TABSTOP,225,50,52,15
COMBOBOX IDC_SYNCP,82,67,69,52,CBS_DROPDOWN | CBS_HASSTRINGS |
WS_VSCROLL | WS_TABSTOP
CONTROL "Short Column Names",IDC_SHORTNAM,"Button",
BS_AUTOCHECKBOX | WS_TABSTOP,170,65,95,15
CONTROL "Foreign Keys",IDC_FKSUPPORT,"Button",BS_AUTOCHECKBOX |
WS_TABSTOP,85,80,75,15
CONTROL "Long Column Names",IDC_LONGNAM,"Button",BS_AUTOCHECKBOX |
WS_TABSTOP,170,80,95,15
CONTROL "OEMCP Translation",IDC_OEMCP,"Button",BS_AUTOCHECKBOX |
WS_TABSTOP,85,95,75,15
CONTROL "Don't Create Database",IDC_NOCREAT,"Button",
BS_AUTOCHECKBOX | WS_TABSTOP,170,95,95,15
CONTROL "Always BIGINT",IDC_BIGINT,"Button",BS_AUTOCHECKBOX |
WS_TABSTOP,85,110,75,15
CONTROL "No WCHAR",IDC_NOWCHAR,"Button",BS_AUTOCHECKBOX |
WS_TABSTOP,170,110,75,15
CONTROL "Julian Day Conv.",IDC_JDCONV,"Button",BS_AUTOCHECKBOX |
WS_TABSTOP,85,125,75,15
CONTROL "ILIKE is LIKE",IDC_ILIKE,"Button",BS_AUTOCHECKBOX |
WS_TABSTOP,170,125,75,15
EDITTEXT IDC_LOADEXT,82,145,185,12,ES_AUTOHSCROLL | WS_GROUP
EDITTEXT IDC_ATTAS,82,161,185,12,ES_AUTOHSCROLL | WS_GROUP
DEFPUSHBUTTON "OK",IDOK,175,181,40,14
PUSHBUTTON "Cancel",IDCANCEL,225,181,40,14
CTEXT "Enter options for connect",1003,95,6,80,8
RTEXT "Data Source Name:",IDC_DSNAMETEXT,6,22,73,9,NOT WS_GROUP
RTEXT "Database Name:",IDC_DBNAMETEXT,7,38,71,9,NOT WS_GROUP
RTEXT "Lock Timeout [ms]:",IDC_TONAMETEXT,6,53,73,9,NOT WS_GROUP
RTEXT "Sync.Mode:",IDC_SYNCPTEXT,6,69,72,9,NOT WS_GROUP
RTEXT "Load Extensions:",IDC_LOADEXTTEXT,6,147,73,9,NOT WS_GROUP
RTEXT "Attach As",IDC_ATTASTEXT,6,163,73,9,NOT WS_GROUP
END
CONFIGDSN DIALOG DISCARDABLE 65, 43, 277, 206
STYLE DS_MODALFRAME | DS_CENTER | WS_POPUP | WS_VISIBLE | WS_CAPTION |
WS_SYSMENU
CAPTION "SQLite3 ODBC DSN Configuration"
FONT 8, "MS Sans Serif"
BEGIN
EDITTEXT IDC_DSNAME,82,20,140,12,ES_AUTOHSCROLL | WS_GROUP
EDITTEXT IDC_DBNAME,82,36,140,12,ES_AUTOHSCROLL
PUSHBUTTON "Browse...",IDC_BROWSE,225,35,40,14
EDITTEXT IDC_TONAME,82,51,53,12,ES_AUTOHSCROLL
CONTROL "No TXN",IDC_NOTXN,"Button",BS_AUTOCHECKBOX |
WS_TABSTOP,170,50,52,15
CONTROL "Step API",IDC_STEPAPI,"Button",BS_AUTOCHECKBOX |
WS_TABSTOP,225,50,52,15
COMBOBOX IDC_SYNCP,82,67,69,52,CBS_DROPDOWN | CBS_HASSTRINGS |
WS_VSCROLL | WS_TABSTOP
CONTROL "Short Column Names",IDC_SHORTNAM,"Button",
BS_AUTOCHECKBOX | WS_TABSTOP,170,65,95,15
CONTROL "Foreign Keys",IDC_FKSUPPORT,"Button",BS_AUTOCHECKBOX |
WS_TABSTOP,85,80,75,15
CONTROL "Long Column Names",IDC_LONGNAM,"Button",BS_AUTOCHECKBOX |
WS_TABSTOP,170,80,95,15
CONTROL "OEMCP Translation",IDC_OEMCP,"Button",BS_AUTOCHECKBOX |
WS_TABSTOP,85,95,75,15
CONTROL "Don't Create Database",IDC_NOCREAT,"Button",
BS_AUTOCHECKBOX | WS_TABSTOP,170,95,95,15
CONTROL "Always BIGINT",IDC_BIGINT,"Button",BS_AUTOCHECKBOX |
WS_TABSTOP,85,110,75,15
CONTROL "No WCHAR",IDC_NOWCHAR,"Button",BS_AUTOCHECKBOX |
WS_TABSTOP,170,110,75,15
CONTROL "Julian Day Conv.",IDC_JDCONV,"Button",BS_AUTOCHECKBOX |
WS_TABSTOP,85,125,75,15
CONTROL "ILIKE is LIKE",IDC_ILIKE,"Button",BS_AUTOCHECKBOX |
WS_TABSTOP,170,125,75,15
EDITTEXT IDC_LOADEXT,82,145,185,12,ES_AUTOHSCROLL | WS_GROUP
EDITTEXT IDC_ATTAS,82,161,185,12,ES_AUTOHSCROLL | WS_GROUP
DEFPUSHBUTTON "OK",IDOK,175,181,40,14
PUSHBUTTON "Cancel",IDCANCEL,225,181,40,14
CTEXT "Enter options for connect",1003,95,6,80,8
RTEXT "Data Source Name:",IDC_DSNAMETEXT,6,22,73,9,NOT WS_GROUP
RTEXT "Database Name:",IDC_DBNAMETEXT,7,38,71,9,NOT WS_GROUP
RTEXT "Lock Timeout [ms]:",IDC_TONAMETEXT,6,53,73,9,NOT WS_GROUP
RTEXT "Sync.Mode:",IDC_SYNCPTEXT,6,69,72,9,NOT WS_GROUP
RTEXT "Load Extensions:",IDC_LOADEXTTEXT,6,147,73,9,NOT WS_GROUP
RTEXT "Attach As",IDC_ATTASTEXT,6,163,73,9,NOT WS_GROUP
END
/////////////////////////////////////////////////////////////////////////////
//
// Version
//
VS_VERSION_INFO VERSIONINFO
FILEVERSION VERSION_C,0,0
PRODUCTVERSION VERSION_C,0,0
FILEFLAGSMASK (3)
FILEFLAGS (0)
FILEOS VOS__WINDOWS32
FILETYPE VFT_DLL
FILESUBTYPE (0)
BEGIN
BLOCK "StringFileInfo"
BEGIN
BLOCK "040904e4"
BEGIN
VALUE "CompanyName", "Christian Werner Software & Consulting\0"
VALUE "FileDescription", "SQLite3 ODBC Driver\0"
VALUE "FileVersion", VERSION "\0"
VALUE "InternalName", "SQLITE3ODBC\0"
VALUE "LegalCopyright", "Copyright © 2004-2023 <[email protected]>\0"
VALUE "LegalTrademarks", "\0"
VALUE "OriginalFilename", "SQLITE3ODBC.DLL\0"
VALUE "PrivateBuild", "\0"
VALUE "ProductName", "ODBC Driver for SQLite3 " SQLITE_VERSION "\0"
VALUE "ProductVersion", VERSION "\0"
VALUE "SpecialBuild", "\0"
END
END
BLOCK "VarFileInfo"
BEGIN
VALUE "Translation", 0x409, 1252
END
END
/////////////////////////////////////////////////////////////////////////////
//
// String Table
//
STRINGTABLE DISCARDABLE
BEGIN
IDS_MSGTITLE "SQLite3 ODBC Setup"
IDS_BADDSN "%s cannot be used as a data source name."
IDS_EXTTITLE "SQLite3 ODBC Extension"
IDS_EXTERR "Extension '%s' did not load:\n%s"
IDS_DRVTITLE "SQLite3 ODBC Driver"
IDS_DLLERR "No usable SQLite3 DLL found."
END
/////////////////////////////////////////////////////////////////////////////
//
// Icon
//
ico1 ICON "sqliteodbc.ico"