I downloaded the precompiled Windows binary from:
https://sqlite.org/2018/sqlite-dll-win64-x64-3220000.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-3210000.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

Reply via email to