Copyright (c) 2001-2004 Christian Werner <chw@ch-werner.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.
Functions | |
BOOL | ProcessErrorMessages (char *name) |
Handler for ODBC installation error messages. | |
BOOL | InUn (int remove, char *drivername, char *dllname, char *dsname) |
Driver installer/uninstaller. | |
int APIENTRY | WinMain (HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpszCmdLine, int nCmdShow) |
Main function of installer/uninstaller. | |
Variables | |
char * | DriverName [3] |
char * | DSName [3] |
char * | DriverDLL [3] |
|
Driver installer/uninstaller.
Definition at line 76 of file inst.c. References ProcessErrorMessages(). Referenced by WinMain(). |
|
Handler for ODBC installation error messages.
|
|
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 185 of file inst.c. References DriverDLL, DriverName, DSName, and InUn(). |
|
Initial value: { "sqliteodbc.dll", "sqliteodbcu.dll", "sqlite3odbc.dll" } Definition at line 33 of file inst.c. Referenced by WinMain(). |
|
Initial value: { "SQLite ODBC Driver", "SQLite ODBC (UTF-8) Driver", "SQLite3 ODBC Driver" } Definition at line 23 of file inst.c. Referenced by WinMain(). |
|
Initial value: { "SQLite Datasource", "SQLite UTF-8 Datasource", "SQLite3 Datasource" } Definition at line 28 of file inst.c. Referenced by WinMain(). |