"Toby Roworth" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Looking at the API reference. it would apear you can send an extra > "custom" argument to the callback fro sqlite3_exec, using the 4th > parameter - how does this work, and inperticular, could I pass an > object through to the call back, and if so, how?
You can pass anything that fits into void* - typically a pointer to some structure or object you define. SQLite will simply pass it through to the callback as-is, without any modifications. The callback will then simply cast the void* pointer back to the original object pointer. Igor Tandetnik _______________________________________________ sqlite-users mailing list sqlite-users@sqlite.org http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users