On Wed, Jan 11, 2017 at 11:11 AM, Rael Bauer <supp...@bauerapps.com> wrote:
> 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? > Might be a cdecl vs stdcall issue. See for example the SO post below. --DD http://stackoverflow.com/questions/13558530/how-do-i-export-function-from-c-dll-and-use-in-delphi _______________________________________________ sqlite-users mailing list sqlite-users@mailinglists.sqlite.org http://mailinglists.sqlite.org/cgi-bin/mailman/listinfo/sqlite-users