SQLite 互操作 DLL 缺失方法 - Windows Mobile CF [英] SQLite Interop DLL Missing Method - Windows Mobile CF

查看:20
本文介绍了SQLite 互操作 DLL 缺失方法 - Windows Mobile CF的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在我的 Windows Mobile 项目中,我添加了 SQLite.Interop.066.DLL,设置了 [Build Action] = [Content] 并设置 [Copy to Output Directory] = [Copy if newer].

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].

仍然,之后我打开我的连接,我收到未处理的Missing Method Exception消息找不到PInvoke DLL'SQLite.Interop.DLL" 每当我尝试在 SQLiteCommand 上执行阅读器时.

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.

怎么了?

推荐答案

显然,SQLite 没有得到很好的管理.

Apparently, SQLite is not being managed very well.

这是一年多以前(2010 年 5 月 3 日)有人在 SQLite setup.exe 下载.为了获得工作 DLL,我必须 下载二进制文件.

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!

这是其他人的链接:

1.0.66.0 版 - 紧凑型框架的构建不好?

SQLite 社区请注意:请更新您的代码!

这篇关于SQLite 互操作 DLL 缺失方法 - Windows Mobile CF的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆