On 23 May 2011, at 1:50pm, Dev_lex wrote: > I would like to do this : > > sqlite3_exec(query_handle.db,"SELECT * FROM DHSS", callback, 0, NULL); > > But I need to prepare the statement.. So I can prepare the statement : > "SELECT * FROM DHSS" , but how can I call the callback with sqlite3_step?
_step() is not a callback, it's a routine you call when you want the next row. Take a look at this page: http://www.sqlite.org/c3ref/stmt.html and follow whatever links you like. If have a specific question about callbacks, we can answer it. Simon. _______________________________________________ sqlite-users mailing list [email protected] http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

