Thanks Igor and Teg, I think I know were I was going wrong now.
___
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users
"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
Hello Toby,
You can pass in anything you want, a pointer, a number. As long as it
fits in the native size of the parameter. You can pass the ADDRESS of
an object as long as it doesn't go out of scope between the call and
when the processing finishes. I tend to pass the "this" pointer to the
class
Hello all
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?
Thanks
Toby
4 matches
Mail list logo