Hello Rob Lohman, SQLite is multithreaded since 3.3.1. Still, threre are restrictions:
"When shared-cache mode is enabled, a database connection may only be used by the thread that called sqlite3_open() to create it. If another thread attempts to use the database connection, in most cases an SQLITE_MISUSE error is returned. However this is not guaranteed and programs should not depend on this behaviour, in some cases a segfault may result." [http://www.sqlite.org/sharedcache.html] However, my example does NOT enable shared-cache mode and should therefor work fine IMO. At least, SQLite should not cause the Access Violation. Or is this a bug? Regards, Ralf >If I remember correctly you cannot use a SQLite database handle >across threads. Each thread will need to open (and close) the >database itself.