SQLite with D

downs default_357-line at yahoo.de
Sun Apr 26 04:59:03 PDT 2009


reimi gibbons wrote:
> downs Wrote:
> 
>> reimi gibbons wrote:
>>> im failry new to D, is there any D library project with support for SQLite, if not is there any guide so i can integrate sqlite amalgamated c source (sqlite3.c, sqlite3.h) into my D code.
>> tools.sqlite3 might work for you. Ask me if you have any questions about it.
>>
>> http://dsource.org/projects/scrapple/browser/trunk/tools/tools/sqlite3.d
>>
>> (Check the very end for an example)
> 
> sorry about earlier reply, mistaken your lib to another lib. btw, how do i use this file. with precompiled library (dll/so) or .h/.c ?
> thanks
> 

Oh, I don't know about that. Sqlite3 is a static library on my Linux. Try to compile the sqlite3.c to .o and just link that in.


More information about the Digitalmars-d-learn mailing list