Copyright (c) 2001-2023 Christian Werner <chw at ch minus werner dot de>
See the file "license.terms" for information on usage and redistribution of this file and for a DISCLAIMER OF ALL WARRANTIES.
Definition in file inst.c.#include <windows.h>
#include <sql.h>
#include <sqlext.h>
#include <odbcinst.h>
#include <winver.h>
#include <string.h>
#include <ctype.h>
#include <stdio.h>
Go to the source code of this file.
Defines | |
#define | SEEEXT "" |
#define | SEESTR "" |
#define | SEESTR2 "" |
#define | NUMDRVS 4 |
Functions | |
BOOL | ProcessErrorMessages (char *name, int quiet) |
Handler for ODBC installation error messages. | |
BOOL | CopyOrDelModules (char *dllname, char *path, BOOL del) |
Copy or delete SQLite3 module DLLs. | |
BOOL | InUn (int remove, char *drivername, char *dllname, char *dll2name, char *dsname) |
Driver installer/uninstaller. | |
int APIENTRY | WinMain (HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpszCmdLine, int nCmdShow) |
Main function of installer/uninstaller. | |
Variables | |
char * | DriverName [NUMDRVS] |
char * | DSName [NUMDRVS] |
char * | DriverDLL [NUMDRVS] |
int | quiet = 0 |
int | nosys = 0 |
|
Definition at line 32 of file inst.c. Referenced by WinMain(). |
|
|
|
|
|
|
|
Copy or delete SQLite3 module DLLs.
Definition at line 102 of file inst.c. Referenced by InUn(). |
|
Driver installer/uninstaller.
Definition at line 153 of file inst.c. References CopyOrDelModules(), ProcessErrorMessages(), and quiet. Referenced by WinMain(). |
|
Handler for ODBC installation error messages.
Definition at line 70 of file inst.c. References quiet. |
|
Main function of installer/uninstaller. This is the Win32 GUI main entry point. It (un)registers the ODBC driver(s) and deletes or copies the driver DLL(s) to the system folder. Definition at line 299 of file inst.c. References DriverDLL, DriverName, DSName, InUn(), nosys, NUMDRVS, and quiet. |
|
Initial value: { "sqliteodbc.dll", "sqliteodbcu.dll", "sqlite3odbc" SEEEXT ".dll", "sqlite4odbc.dll" } Definition at line 45 of file inst.c. Referenced by WinMain(). |
|
Initial value: { "SQLite ODBC Driver", "SQLite ODBC (UTF-8) Driver", "SQLite3 ODBC Driver" SEESTR, "SQLite4 ODBC Driver" } Definition at line 33 of file inst.c. Referenced by WinMain(). |
|
Initial value: { "SQLite Datasource", "SQLite UTF-8 Datasource", "SQLite3 " SEESTR2 "Datasource", "SQLite4 Datasource" } Definition at line 39 of file inst.c. Referenced by WinMain(). |
|
Definition at line 61 of file inst.c. Referenced by WinMain(). |
|
Definition at line 60 of file inst.c. Referenced by InUn(), ProcessErrorMessages(), and WinMain(). |