I'm running SQLite in a thread. If the user hits 'Cancel' in my GUI, I 
want (notified by setting a flag variable) SQLite to stop the query and 
shut down gracefully. I tried closing the thread with TerminateThread, 
but the database cannot be queried after this, and the entire program 
has to be aborted and reloaded because (I assume) of some unclosed SQL 
handles.

So is there a way to terminate a query gracefully?

SQLite is compiled into my C++ program from source, not via command-line 
or a DLL.

Thanks,

Jeremy.

_______________________________________________
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

Reply via email to