SQLite Interop DLL Missing Method - Windows Mobile CF

本小妞迷上赌 提交于 2019-12-13 13:50:22

问题


In my Windows Mobile project, I have added the SQLite.Interop.066.DLL, set the [Build Action] = [Content] and set the [Copy to Output Directory] = [Copy if newer].

Still, after I open my my connection, I receive the unhandled Missing Method Exception message "Can't find PInvoke DLL 'SQLite.Interop.DLL" whenever I attempt to execute the reader on the SQLiteCommand.

What is wrong?


回答1:


Apparently, SQLite is not being managed very well.

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

I had seen it earlier, but dismissed it because it was so old. Today, I downloaded the binaries and installed them in my project - No errors!

Here is the link for others:

Version 1.0.66.0 - bad build for Compact Framework ?

Note to the SQLite community: Update your code, please!



来源:https://stackoverflow.com/questions/8067793/sqlite-interop-dll-missing-method-windows-mobile-cf

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!