[sqlite] Compiling SQLite dll 64 bits in MSVS

2016-04-06 Thread Bart Smissaert
> About name decoration please see https://msdn.microsoft.com/en-us/library/56h2zst2.aspx Thanks, that was helpful. In the above it says: Note that in a 64-bit environment, functions are not decorated. Not sure what that exactly means as I know that in VBA 64 bits decorated names are used in

[sqlite] Compiling SQLite dll 64 bits in MSVS

2016-04-06 Thread GB
The top right pane shows which entry points are actually imported by the importing module. Since the top level module is not imported by anything the "imports" Pane is empty. About name decoration please see https://msdn.microsoft.com/en-us/library/56h2zst2.aspx Bart Smissaert schrieb am

[sqlite] Compiling SQLite dll 64 bits in MSVS

2016-04-06 Thread Bart Smissaert
Haven't I got that here: > Additional Options: > > sqlite3.c /Gz -DSQLITE_API=__declspec(dllexport) Or should I leave the D off before SQLITE_API ? RBS On Tue, Apr 5, 2016 at 11:04 PM, J Decker wrote: > On Tue, Apr 5, 2016 at 2:09 PM, Bart Smissaert > wrote: > > I am not using .def

[sqlite] Compiling SQLite dll 64 bits in MSVS

2016-04-06 Thread GB
Well, last time I built sqlite3.dll myself was some years ago... I don't remember why we used the .def J Decker schrieb am 05.04.2016 um 23:05: > def files are obsolete. > the instructions include setting SQLITE_API to __declspec(dllexport) > which should do the job... unless there was a typeo >

[sqlite] Compiling SQLite dll 64 bits in MSVS

2016-04-06 Thread GB
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

[sqlite] Compiling SQLite dll 64 bits in MSVS

2016-04-05 Thread Bart Smissaert
I said that wrong, even in the old 32 bits Dependency Walker there is nil in the top right pane. Still, there are no decorated function names in the 64 bit dll to see. Is this normal or do I have to alter my command line parameters? RBS On Tue, Apr 5, 2016 at 10:23 PM, Bart Smissaert wrote: >

[sqlite] Compiling SQLite dll 64 bits in MSVS

2016-04-05 Thread Bart Smissaert
Thanks, that V2.2 works. What is strange though is that I see nil in the top right pane, so decorated function names. Is this different in the 64 bits dll? RBS On Tue, Apr 5, 2016 at 10:03 PM, GB wrote: > Strange. Runs fine here (also Win 7 Pro x64). But version 2.1 may have > problems with

[sqlite] Compiling SQLite dll 64 bits in MSVS

2016-04-05 Thread Bart Smissaert
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

[sqlite] Compiling SQLite dll 64 bits in MSVS

2016-04-05 Thread GB
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: > >

[sqlite] Compiling SQLite dll 64 bits in MSVS

2016-04-05 Thread Bart Smissaert
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 wrote: > Dependency

[sqlite] Compiling SQLite dll 64 bits in MSVS

2016-04-05 Thread J Decker
On Tue, Apr 5, 2016 at 2:09 PM, Bart Smissaert 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 >

[sqlite] Compiling SQLite dll 64 bits in MSVS

2016-04-05 Thread J Decker
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 wrote: > Strange. Runs fine here (also Win 7 Pro x64). But version 2.1 may have > problems with post-XP OS. Try V2.2

[sqlite] Compiling SQLite dll 64 bits in MSVS

2016-04-05 Thread Bart Smissaert
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