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

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

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

Stanley Jacob
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
[hidden email]
http://mailinglists.sqlite.org/cgi-bin/mailman/listinfo/sqlite-users
Reply | Threaded
Open this post in threaded view
|

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

Joe Mistachkin-3

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
[hidden email]
http://mailinglists.sqlite.org/cgi-bin/mailman/listinfo/sqlite-users