Oh apparently sqlite is a single C module, in that case it's even easier. Just compile the .c file with the MS compiler (cl.exe sqlite3.c) and specify the resulting sqlite3.obj file on the DMD command line (with `-m32mscoff` or `-m64`), so that it's linked in.
You'll probably be more successful with a static .lib library
generated with the MS compiler (Visual Studio). I'd suggest
compiling sqlite yourself and then using DMD with the
`-m32mscoff` switch (32-bit) or `-m64` for 64-bit. Google is your
friend in case you don't know how to build a static C library.
- embedding a library in Windows Nestor via Digitalmars-d-learn
- Re: embedding a library in Wind... Kagamin via Digitalmars-d-learn
- Re: embedding a library in ... Nestor via Digitalmars-d-learn
- Re: embedding a library... Adam D. Ruppe via Digitalmars-d-learn
- Re: embedding a lib... Nestor via Digitalmars-d-learn
- Re: embedding ... Kagamin via Digitalmars-d-learn
- Re: embedding ... kinke via Digitalmars-d-learn
- Re: embedding a library... Kagamin via Digitalmars-d-learn
- Re: embedding a library in Wind... biozic via Digitalmars-d-learn
- Re: embedding a library in ... biozic via Digitalmars-d-learn
- Re: embedding a library in ... Nestor via Digitalmars-d-learn
- Re: embedding a library... biozic via Digitalmars-d-learn