Hello Dennis, Yeah, I static link too. That's pretty much my usage pattern as well. Long lived worker threads.
C Thursday, January 12, 2006, 9:15:09 AM, you wrote: DJ> [EMAIL PROTECTED] wrote: >>Every Windows DLL can provide a DllMain function. This function gets called >>whenever a thread gets created or destroyed. >> >>http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dllproc/base/dllmain.asp >> >> DJ> Except that not all of us use Sqlite as a DLL. We statically link it DJ> directly into our multi-threaded application. Fortunately for us, we DJ> create a fixed number of threads at startup and after that, do not DJ> create nor destroy any threads that use sqlite until shutdown. -- Best regards, Teg mailto:[EMAIL PROTECTED]