I found the spot where I was telling the two threads to use the same database pointer instead of running on separate ones. Once I fixed that, it works.
Thanks for your help. Rob Richardson Rad-Con, Inc. -----Original Message----- From: Jay Sprenkle [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 26, 2006 9:49 AM To: sqlite-users@sqlite.org Subject: Re: [sqlite] Reading the same table from two threads On 7/26/06, Rob Richardson <[EMAIL PROTECTED]> wrote: > Jay, > > After the first thread, a graph will be displayed and the user can start > doing things on it while the next batch of data is being loaded. Ah. "Many readers" should work fine. An access violation sounds like a bad pointer or a compile problem. Check for the standard stuff: * more than one DLL/loadable lib and you're not loading the one you thought you were * correct compile settings for sqlite * bugs ( "it compiles, therefore it's perfect!" ) * compiler not "service packed"