I have a version of SQLite 3.6.18 that I compile myself for Win32 using Visual Studio .NET 2008. The preprocessor looks like this: _WINDOWS;_USRDLL;_WINDLL;SQLITE_ENABLE_COLUMN_METADATA;SQLITE_MEMDEBUG. Without the SQLITE_MEMDEBUG directive defined, I get somewhat random crashes (access violations) when calling sqlite3_column_table_name and sqlite3_column_origin_name. So far, these are the only 2 methods that I have seen crash.
I have developed a custom C# wrapper around the sqlite DLL that I create. The crashes occur when running my unit tests. Probably 5 out of 6 times all tests (over 1000) run fine, but that one time I see the access violation. If I compile with SQLITE_MEMDEBUG nothing crashes, and nothing asserts. I am building my own DLL since I have to also build a 64 bit version and that is not one of the standard precompiled downloads. If I use the standard sqlite3.dll binary, everything works. Any ideas? Thanks, Todd _______________________________________________ sqlite-users mailing list sqlite-users@sqlite.org http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users