On Tuesday, 1 October 2013 at 09:11:32 UTC, kaspars wrote: > // Version 1 > sqlite3_exec(db,"SELECT * FROM > triphones",myCallback,null,null); should be sqlite3_exec(db,"SELECT * FROM triphones",&myCallback,null,null); otherwise you're actually doing a parenthesis-less call to myCallback instead of passing it's address, hence the error message.