forked from softace/sqliteodbc
-
Notifications
You must be signed in to change notification settings - Fork 0
/
sqlite4odbc.rc
154 lines (144 loc) · 6.29 KB
/
sqlite4odbc.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
#include <winresrc.h>
#include <winver.h>
#include "resource3.h"
#include "sqlite4.h"
#ifndef SQLITE4_VERSION
#define SQLITE4_VERSION "?.?.?"
#endif
/////////////////////////////////////////////////////////////////////////////
//
// Dialog
//
DRIVERCONNECT DIALOG DISCARDABLE 65, 43, 277, 175
STYLE DS_MODALFRAME | DS_CENTER | WS_POPUP | WS_VISIBLE | WS_CAPTION |
WS_SYSMENU
CAPTION "SQLite4 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,52,15
EDITTEXT IDC_LOADEXT,82,130,185,12,ES_AUTOHSCROLL | WS_GROUP
DEFPUSHBUTTON "OK",IDOK,175,150,40,14
PUSHBUTTON "Cancel",IDCANCEL,225,150,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,132,73,9,NOT WS_GROUP
END
CONFIGDSN DIALOG DISCARDABLE 65, 43, 277, 175
STYLE DS_MODALFRAME | DS_CENTER | WS_POPUP | WS_VISIBLE | WS_CAPTION |
WS_SYSMENU
CAPTION "SQLite4 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,52,15
EDITTEXT IDC_LOADEXT,82,130,185,12,ES_AUTOHSCROLL | WS_GROUP
DEFPUSHBUTTON "OK",IDOK,175,150,40,14
PUSHBUTTON "Cancel",IDCANCEL,225,150,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,132,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", "SQLite4 ODBC Driver\0"
VALUE "FileVersion", VERSION "\0"
VALUE "InternalName", "SQLITE4ODBC\0"
VALUE "LegalCopyright", "Copyright © 2013 <[email protected]>\0"
VALUE "LegalTrademarks", "\0"
VALUE "OriginalFilename", "SQLITE4ODBC.DLL\0"
VALUE "PrivateBuild", "\0"
VALUE "ProductName", "ODBC Driver for SQLite4 " SQLITE4_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 "SQLite4 ODBC Setup"
IDS_BADDSN "%s cannot be used as a data source name."
IDS_EXTTITLE "SQLite4 ODBC Extension"
IDS_EXTERR "Extension '%s' did not load:\n%s"
IDS_DRVTITLE "SQLite4 ODBC Driver"
IDS_DLLERR "No usable SQLite4 DLL found."
END
/////////////////////////////////////////////////////////////////////////////
//
// Icon
//
ico1 ICON "sqliteodbc.ico"