Re: [sqlite] SQLite 3.22.0: Precompiled Windows 64-bit DLL is 32-bit?

2018-01-26 Thread Joe Mistachkin

Stanley Jacob wrote:
>
> With 3.22.0, this produces "ImportError: DLL load failed: %1 is not a
> valid Win32 application."
> With 3.21.0, there is no error.
> 

Thanks for the report.  It should be the x64 version now.

--
Joe Mistachkin 

___
sqlite-users mailing list
sqlite-users@mailinglists.sqlite.org
http://mailinglists.sqlite.org/cgi-bin/mailman/listinfo/sqlite-users


[sqlite] SQLite 3.22.0: Precompiled Windows 64-bit DLL is 32-bit?

2018-01-26 Thread Stanley Jacob
I downloaded the precompiled Windows binary from:
https://sqlite.org/2018/sqlite-dll-win64-x64-322.zip

This DLL causes a "not a valid Win32 application" error when using it
with 64-bit Python 2.7.14. Dependency Walker shows it as an x86 DLL,
not x64.

I tried the previous version from:
https://sqlite.org/2017/sqlite-dll-win64-x64-321.zip
This works as expected and is seen as an x64 DLL.

To reproduce:

Install Python 2.7.14 (64 bit)
In the DLLs subdirectory, replace sqlite3.dll with the downloaded version.
Run python
import sqlite3

With 3.22.0, this produces "ImportError: DLL load failed: %1 is not a
valid Win32 application."
With 3.21.0, there is no error.
___
sqlite-users mailing list
sqlite-users@mailinglists.sqlite.org
http://mailinglists.sqlite.org/cgi-bin/mailman/listinfo/sqlite-users