SQLite Interop DLL missing method - Windows Mobile CF

In my Windows Mobile project, I added SQLite.Interop.066.DLL , set [ Build Action ] = [Contents] and set [ Copy to Release Directory ] = [Copy if new].

However, after I open my connection, I get an unhandled Missing Method Exception message " Cannot find PInvoke DLL" SQLite.Interop.DLL "whenever I try to read on SQLiteCommand .

What's wrong?

code

solution

+4
source share
1 answer

Apparently, SQLite not very well managed.

This was a bug that someone reported more than a year ago (May 3, 2010) in SQLite setup.exe download . To get working DLLs, I had to download binaries .

I have seen this before, but rejected it because it was so old. Today I downloaded the binaries and installed them in my project - No Errors!

Here is a link for others:

Version 1.0.66.0 - poor build for Compact Framework?

Note for the SQLite community: Please update your code!

+4
source

Source: https://habr.com/ru/post/1380415/


All Articles