On Tue, Apr 5, 2016 at 2:09 PM, Bart Smissaert <bart.smissaert at gmail.com> wrote: > I am not using .def files, but use commandline settings from VS: > > All options: > > /GS /TC /W3 /Zc:wchar_t /Zi /Gm- /O2 /Fd"x64\Release\vc120.pdb" /fp:precise > /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "_USRDLL" /D > "SQLITE3_STDCALL_EXPORTS" /D "_WINDLL" /errorReport:prompt /WX- > /Zc:forScope /Gz /MD /Fa"x64\Release\" /EHsc /nologo /Fo"x64\Release\" > /Fp"x64\Release\SQLite3_StdCall.pch" > > Additional Options: > > sqlite3.c /Gz -DSQLITE_API=__declspec(dllexport) -O2 > -DSQLITE_ENABLE_COLUMN_METADATA=1 -DSQLITE_SYSTEM_MALLOC=1 > -DSQLITE_THREADSAFE=0 -DSQLITE_ENABLE_EXPLAIN_COMMENTS=1 > -DSQLITE_SQLITE_ENABLE_RTREE=1-DSQLITE_ENABLE_FTS4=1 -link -dll > -out:SQLite3_StdCall.dll > >
add SQLITE_API=__declspec(dllexport) from like line 12... http://pavel.cernohorsky.name/blog/2015/09/sqlite_64-bit_binaries_for_windows_and_how_to_build_them_with_visual_studio_2015.php You missed the important part :) > RBS > > On Tue, Apr 5, 2016 at 10:05 PM, J Decker <d3ck0r at gmail.com> wrote: > >> def files are obsolete. >> the instructions include setting SQLITE_API to __declspec(dllexport) >> which should do the job... unless there was a typeo >> >> On Tue, Apr 5, 2016 at 2:03 PM, GB <gbinfo at web.de> wrote: >> > Strange. Runs fine here (also Win 7 Pro x64). But version 2.1 may have >> > problems with post-XP OS. Try V2.2 from here: >> > http://www.heise.de/download/dependency-walker.html (German site, but >> > downloads should be easy to spot). >> > >> > But if I remember this right, you need to include the sqlite3.def file >> from >> > the binary dll-package into your project to create the exports. >> Depending on >> > your build flags you may need to comment out some exports. >> > >> > >> > >> > Bart Smissaert schrieb am 05.04.2016 um 22:01: >> >> >> >> I downloaded the 64 bit version of DependencyWalker from here: >> >> https://support.microsoft.com/en-us/kb/256872 >> >> but it didn't run on my machine although it is Win 7 Pro 64 bits. >> >> Will have a look on the MSVS 2013 installation disc. >> >> >> >> RBS >> >> >> >> >> >> >> >> On Tue, Apr 5, 2016 at 8:17 PM, GB <gbinfo at web.de> wrote: >> >> >> >>> Dependency Walker comes in two different flavors, one for x86 and one >> for >> >>> x64. You need to use the appropriate one for your DLL. >> >>> >> >>> >> >>> >> >>> Bart Smissaert schrieb am 05.04.2016 um 09:50: >> >>> >> >>>> Trying to compile SQLite 64 bits in MSVS 2013 from the amalgation. >> >>>> Using instructions from: >> >>>> >> >>>> >> >>>> >> >>>> >> http://pavel.cernohorsky.name/blog/2015/09/sqlite_64-bit_binaries_for_windows_and_how_to_build_them_with_visual_studio_2015.php >> >>>> >> >>>> All compiles well, so no warnings and get a dll of about 700 kB. >> >>>> Nil shows however in Dependency Walker, so it looks nil is exported. >> >>>> >> >>>> Do I need to change anything in the amalgation source to compile 64 >> bits >> >>>> or >> >>>> could it be that Dependency Walker doesn't work well with 64 bit >> dll's? >> >>>> The machine is Win 7 64 bits. >> >>>> I have problem at all compiling 32 bits. >> >>>> Thanks for any advice. >> >>>> >> >>>> RBS >> >>>> _______________________________________________ >> >>>> sqlite-users mailing list >> >>>> sqlite-users at mailinglists.sqlite.org >> >>>> http://mailinglists.sqlite.org/cgi-bin/mailman/listinfo/sqlite-users >> >>>> >> >>>> >> >>> _______________________________________________ >> >>> sqlite-users mailing list >> >>> sqlite-users at mailinglists.sqlite.org >> >>> http://mailinglists.sqlite.org/cgi-bin/mailman/listinfo/sqlite-users >> >>> >> >> _______________________________________________ >> >> sqlite-users mailing list >> >> sqlite-users at mailinglists.sqlite.org >> >> http://mailinglists.sqlite.org/cgi-bin/mailman/listinfo/sqlite-users >> >> >> > >> > _______________________________________________ >> > sqlite-users mailing list >> > sqlite-users at mailinglists.sqlite.org >> > http://mailinglists.sqlite.org/cgi-bin/mailman/listinfo/sqlite-users >> _______________________________________________ >> sqlite-users mailing list >> sqlite-users at mailinglists.sqlite.org >> http://mailinglists.sqlite.org/cgi-bin/mailman/listinfo/sqlite-users >> > _______________________________________________ > sqlite-users mailing list > sqlite-users at mailinglists.sqlite.org > http://mailinglists.sqlite.org/cgi-bin/mailman/listinfo/sqlite-users

