gpt4 book ai didi

c# - SQLite Interop DLL 缺少方法 - Windows Mobile CF

转载 作者:太空狗 更新时间:2023-10-30 01:24:55 25 4
gpt4 key购买 nike

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

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

怎么了?

code

solution

最佳答案

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

这是一年多前(2010 年 5 月 3 日)某人在 SQLite setup.exe download 中报告的错误。 .为了获得工作的 DLL,我必须 download the binaries .

我之前看过它,但因为它太旧而忽略了它。今天,我下载了二进制文件并将它们安装到我的项目中 - 没有错误!

这是其他人的链接:

Version 1.0.66.0 - bad build for Compact Framework ?

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

关于c# - SQLite Interop DLL 缺少方法 - Windows Mobile CF,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/8067793/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com