mirror of
https://github.com/mdbtools/mdbtools.git
synced 2025-09-19 10:37:54 +08:00
46005ae0093e3279b5df0f84a2ebad7347b880f6

__attribute__ does not exist in Visual Studio. Therefore replaced wherever it appeared with a macro: Redefines MDB_DEPRECATED to support Visual Studio Define a Constructor MACRO so that __attribute__((constructor/destructor)) behavior is achieved in Visual Studio. Just using generate_table_schema through mdb_print_schema deletes the purpose of a very good tool. generate_table_schemas is a rewrite of generate_table_schema but sends the data to a char* instead of FILE*. There is NO fmemopen() or similar in Visual Studio, so there is NO way to access memory through a FILE* except for first writing to the disk and then reading from the disk in memory. I cannot suggest how to handle the case when td == 0 for the dates. The databases I work with often have just 00:00:00 in the DateTime column which is not consistent with the rest of the column either, but I have to deal with it somehow. Leaving void* where char* is needed as a function parameter returns a compilation error in Visual Studio.
This is mdbtools version 0.7 Welcome to the exciting world of MDB Tools! In short, MDB Tools is a set of programs to help you use Microsoft Access file in various settings. The major pieces are: . libmdb - the core library that allows access to MDB files programatically. . libmdbsql - builds on libmdb to provide a SQL engine (aka Jet) . utils - provides command line utilities to list tables, export schema, and data, show the version of the files, and other useful stuff. . mdb-sql - a command line SQL tool that allows one to type sql queries and get results. . odbc - An ODBC driver for use with unixODBC or iODBC driver manager. Allows one to use MDB files with PHP for example. . gmdb2 - The Gnome MDB File Viewer and debugger. Still alpha, but making great progress. If you are interested in helping, read the HACKING file for a description of where the code stands and what has been gleened of the file format. The initial goal of these tools is to be able to extract data structures and data from mdb files. This goal will of course expand over time as the file format becomes more well understood. Files in libmdb, libmdbsql, and libmdbodbc are licensed under LGPL and the utilities and gui program are under the GPL, see COPYING.LIB and COPYING files respectively. To install see the INSTALL file Check out https://github.com/brianb/mdbtools for latest version of sources. Check out http://mdbtools.sourceforge.net for mailing list and similar. Brian Bruns brian@bruns.com P.S. I, like many other free software authors enjoy receiving postcards from the places users of my software live. So, if you enjoy the software and it has helped you out, consider sending me one, eh? Just email me for my postal address.
Languages
C
81.3%
SCSS
5.3%
CSS
4.9%
M4
4.4%
Shell
1.7%
Other
2.4%