Looking through the code I see Prepare16 already calls sqlite3_prepare_v2 (from TDISQLite3Statement.SetActive). Thanks, Michael J. Leaver 2BrightSparks Pte Ltd http://www.2BrightSparks.com/ -----Original Message----- From: yunqa-bounce@xxxxxxxxxxxxx [mailto:yunqa-bounce@xxxxxxxxxxxxx] On Behalf Of Delphi Inspiration Sent: 30 July 2009 19:24 To: yunqa@xxxxxxxxxxxxx; yunqa@xxxxxxxxxxxxx Subject: [yunqa.de] Re: SQLite Error 1 - not an error. At 09:39 28.07.2009, Michael J. Leaver wrote: >Sorry for the late reply. I never use sqlite3_prepare() or >sqlite3_prepare16(), but I do use Prepare16. Prepare16 might call sqlite3_prepare() or sqlite3_prepare16() internally. Could you please change those calls to sqlite3_prepare_v2() and sqlite3_prepare16_v2() respectively and let me know if that makes any difference? Ralf _______________________________________________ Delphi Inspiration mailing list yunqa@xxxxxxxxxxxxx //www.freelists.org/list/yunqa _______________________________________________ Delphi Inspiration mailing list yunqa@xxxxxxxxxxxxx //www.freelists.org/list/yunqa