Best SQL library to use with local desktop app

wakhshti www.google at gmail.com
Wed Jan 3 21:32:41 UTC 2018


On Wednesday, 3 January 2018 at 20:52:49 UTC, Adam D. Ruppe wrote:

> That means you didn't link in the module.
>
> The way I recommend doing it is listing them all on the command 
> line:
>
> dmd yourfile.d database.d sqlite.d
>
> or if you put them in an arsd folder (optional)
>
> dmd yourfile.d arsd\database.d arsd\sqlite.d
>
>
>
> For sqlite, you also will need a sqlite.lib in the current 
> directory or it will list a lot of Symbol Undefined like 
> _sqlite3_open etc. And at runtime, you will need the sqlite.dll 
> file along with your exe.
>
> This is probably your general problem: you need to link in 
> those libs too.
>
> Here's the sqlite3.lib and dll too if you don't already have 
> them:
>
> http://arsdnet.net/dcode/sqlite3.lib
> http://arsdnet.net/dcode/sqlite3.dll
>
> just download them to the folder with your program.

thank you.
finally i am able to do it in correct way.
(i think if there be only one way to do something wrong, it will 
happen to me :))


More information about the Digitalmars-d mailing list