mirror of
https://github.com/mdbtools/mdbtools.git
synced 2025-04-05 20:31:00 +08:00
![]() __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. |
||
---|---|---|
.. | ||
Makefile.am | ||
mdbodbc.h | ||
mdbprivate.h | ||
mdbsql.h | ||
mdbtools.h | ||
mdbver.h.in |