Hi,
I am trying to compile the latest amalgamation (3160200) as a dll on
Windows 10 x64, using VS2015 x86 Native Tools Command Prompt. The dll
compiles fine, however trying to use this dll in various tools (Delphi)
results in the error "sqlite3_open not found".
I tried compiling with:
cl sqlite3.c -link -dll -out:sqlite3.dll and
cl sqlite3.c -DSQLITE_ENABLE_FTS4 -link -dll -out:sqlite3.dll
But experienced the same problem. Any ideas what could be wrong?
I have uploaded the dll's to:
www.bauerapps.com/files/sqlite3_1.dll and
www.bauerapps.com/files/sqlite3_2.dll
Here is the command line log:
C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC>cd
C:\Downloads\Database\SQLite\sqlite-amalgamation-3160200
C:\Downloads\Database\SQLite\sqlite-amalgamation-3160200>cl sqlite3.c
-link -dll -out:sqlite3.dll
Microsoft (R) C/C++ Optimizing Compiler Version 19.00.23918 for x86
Copyright (C) Microsoft Corporation. All rights reserved.
sqlite3.c
Microsoft (R) Incremental Linker Version 14.00.23918.0
Copyright (C) Microsoft Corporation. All rights reserved.
/out:sqlite3.exe
-dll
-out:sqlite3.dll
sqlite3.obj
C:\Downloads\Database\SQLite\sqlite-amalgamation-3160200>cl sqlite3.c
-DSQLITE_ENABLE_FTS4 -link -dll -out:sqlite3.dll
Microsoft (R) C/C++ Optimizing Compiler Version 19.00.23918 for x86
Copyright (C) Microsoft Corporation. All rights reserved.
sqlite3.c
Microsoft (R) Incremental Linker Version 14.00.23918.0
Copyright (C) Microsoft Corporation. All rights reserved.
/out:sqlite3.exe
-dll
-out:sqlite3.dll
sqlite3.obj
C:\Downloads\Database\SQLite\sqlite-amalgamation-3160200>
Thanks
_______________________________________________
sqlite-users mailing list
sqlite-users@mailinglists.sqlite.org
http://mailinglists.sqlite.org/cgi-bin/mailman/listinfo/sqlite-users