On 6 Apr 2005 at 3:13, Dan Kennedy wrote: Date sent: Wed, 6 Apr 2005 03:13:58 -0700 (PDT) From: Dan Kennedy <[EMAIL PROTECTED]> Subject: Re: [sqlite] Access Violations in sqlite3_step when in DLL To: sqlite-users@sqlite.org, [EMAIL PROTECTED]
> > Exactly what are you calling sqlite3_free() on? Sorry, I am probably being a bit misleading there. That Free was on any error message returned from SQlite3_ErrMsg which we call if the result from SQLite3_Open isn't SQLITE_OK In theory it's never called, we never get any errors out of SQLIte_Open, it just AV's We call SQLite3_Close and pass the pointer that is returned from the open call. I havn't seen any errors on close. We see errors on Open, Step or Get_Table depending on what we use (ie, if we just Open and close, the AV occurs eventually on one of the opens. If we try Get_Table the AV will happen sooner and happen on a Get_Table) None of the code we used (and I even tried other componants and wrappers in case the one we were using is suspect) has ever caused any issues previously and we've been using it for months. Only when called from this plugin are we seeing problems. I've tried 2 wrappers and one componant and still get the issue