dlang how to use sqlite3

kaspars djkraukscis at gmail.com
Tue Oct 1 02:36:20 PDT 2013


On Tuesday, 1 October 2013 at 09:17:12 UTC, John Colvin wrote:
> 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.


Thank you ,It work !!


More information about the Digitalmars-d mailing list