Guillaume Schub <[email protected]> wrote: > sqlite3_create_function(m_pDB, "ScorePosition", "ScorePosition", 8, > SQLITE_ANY, NULL, &ScorePosition, NULL, NULL); > > class MyClass > { > ... > static void ScorePosition(sqlite3_context *pContext,int argc, > sqlite3_value** argv); > ... > }; > > No the problem is that the callback is called, but pContext is always > NULL, argc a fancy value, and argv always the same value (like > 0x0012f2d4)
Sounds like a calling convention mismatch. What compiler are you using, on what OS? Igor Tandetnik _______________________________________________ sqlite-users mailing list [email protected] http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

