SQLite Forum

SQLite3 v3.34 ANOMALY - Precompiled Binaries for Windows
Login
>It really seems that you must be doing something wrong yourself in tour code....

Do you have a working sqlite3_exec <b>with</b> callback with 32-bit SQLite3 version 3.34.0 or 3.34.1? If yes, please share the code (or outline thereof).

I have one set of C# code ([see here](https://sqlite.org/forum/forumpost/0eb0c71581?t=h)).

It works with a Net Framework Console Application built with Target Platform = Any CPU. Uses 64 bit SQLite3.DLL version 3.34.0/3.34.1 (pre-compiled).

It was reported to work with a Net Core Application with Target Platform = Any CPU ... [here](https://sqlite.org/forum/forumpost/81e2658727?t=h) 

It <b>fails</b> with a Net Framework OR Net Core Console Application with Target Platform = Any CPU <b>and</b> Prefer 32-bit enabled. Uses 32-bit SQLite3.DLL version 3.34.1/3.34.1 (pre-compiled).The error message is:

>Attempted to read or write protected memory. This is often an indication that other memory is corrupt.

Please enlighten me: What am I doing wrong?