forked from softace/sqliteodbc
-
Notifications
You must be signed in to change notification settings - Fork 0
/
sqliteodbc.rc
144 lines (134 loc) · 4.68 KB
/
sqliteodbc.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
#include <winresrc.h>
#include <winver.h>
#include "resource.h"
#include "sqlite.h"
#ifndef SQLITE_VERSION
#define SQLITE_VERSION "?.?.?"
#endif
/////////////////////////////////////////////////////////////////////////////
//
// Dialog
//
DRIVERCONNECT DIALOG DISCARDABLE 65, 43, 287, 111
STYLE DS_MODALFRAME | DS_CENTER | WS_POPUP | WS_VISIBLE | WS_CAPTION |
WS_SYSMENU
#ifdef SQLITE_UTF8
CAPTION "SQLite ODBC (UTF-8) Driver Connect"
#else
CAPTION "SQLite ODBC Driver Connect"
#endif
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 "Step API",IDC_STEPAPI,"Button",BS_AUTOCHECKBOX |
WS_TABSTOP,165,50,50,15
CONTROL "No TXN",IDC_NOTXN,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,
225,50,45,15
#ifdef SQLITE_UTF8
CONTROL "No WCHAR",IDC_NOWCHAR,"Button",BS_AUTOCHECKBOX |
WS_TABSTOP,85,65,50,15
#endif
CONTROL "Long Column Names",IDC_LONGNAM,"Button",BS_AUTOCHECKBOX |
WS_TABSTOP,165,65,95,15
DEFPUSHBUTTON "OK",IDOK,175,90,40,14
PUSHBUTTON "Cancel",IDCANCEL,225,90,40,14
CTEXT "Enter options for connect",1003,95,5,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
END
CONFIGDSN DIALOG DISCARDABLE 65, 43, 287, 111
STYLE DS_MODALFRAME | DS_CENTER | WS_POPUP | WS_VISIBLE | WS_CAPTION |
WS_SYSMENU
#ifdef SQLITE_UTF8
CAPTION "SQLite ODBC (UTF-8) DSN Configuration"
#else
CAPTION "SQLite ODBC DSN Configuration"
#endif
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 "Step API",IDC_STEPAPI,"Button",BS_AUTOCHECKBOX |
WS_TABSTOP,165,50,50,15
CONTROL "No TXN",IDC_NOTXN,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,
225,50,45,15
#ifdef SQLITE_UTF8
CONTROL "No WCHAR",IDC_NOWCHAR,"Button",BS_AUTOCHECKBOX |
WS_TABSTOP,85,65,50,15
#endif
CONTROL "Long Column Names",IDC_LONGNAM,"Button",BS_AUTOCHECKBOX |
WS_TABSTOP,165,65,95,15
DEFPUSHBUTTON "OK",IDOK,175,90,40,14
PUSHBUTTON "Cancel",IDCANCEL,225,90,40,14
CTEXT "Enter options for connect",1003,95,5,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
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"
#ifdef SQLITE_UTF8
VALUE "FileDescription", "SQLite ODBC (UTF-8) Driver\0"
#else
VALUE "FileDescription", "SQLite ODBC Driver\0"
#endif
VALUE "FileVersion", VERSION "\0"
VALUE "InternalName", "SQLITEODBC\0"
VALUE "LegalCopyright", "Copyright © 2001-2013 <[email protected]>\0"
VALUE "LegalTrademarks", "\0"
#ifdef SQLITE_UTF8
VALUE "OriginalFilename", "SQLITEODBCU.DLL\0"
#else
VALUE "OriginalFilename", "SQLITEODBC.DLL\0"
#endif
VALUE "PrivateBuild", "\0"
VALUE "ProductName", "ODBC Driver for SQLite " 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
#ifdef SQLITE_UTF8
IDS_MSGTITLE "SQLite ODBC (UTF-8) Setup"
#else
IDS_MSGTITLE "SQLite ODBC Setup"
#endif
IDS_BADDSN "%s cannot be used as a data source name."
END
/////////////////////////////////////////////////////////////////////////////
//
// Icon
//
ico1 ICON "sqliteodbc.ico"