Steven Van Ingelgem said: > > Sorry but this has already been suggested by "Tiago Dionizio". > > I can use this, but then I have to create some kind of own printf-function > which scans and so on and handles %q's (which is rather dumb in my > opinion, > as SQLite already incorporates it?). > > > I think this is a va_* error but I am unable to determine the exact > source...
Your issue then is less with SQLite and more with C++ programming. Your error message might be showing up deep in the SQLite library, but the problem occurs in your handling of the parameters. I would advise you not to let your project get held up on the %Q issue, since the escaping you need to do is pretty trivial. Also consider that SQLite 3 allows you to use parameterized queries, which eliminates the need for the escaping anyway. -- Lazarus Notes from Lazarus Internet Development http://www.lazarusid.com/notes/ Articles, Reviews and Commentary on web development