无法找到DLL'SQLite.Interop.dll“名为'sqlite3_changes_interop”切入点:SQLite的更新后 [英] After SQLite update: Unable to find an entry point named 'sqlite3_changes_interop' in DLL 'SQLite.Interop.dll'

查看:399
本文介绍了无法找到DLL'SQLite.Interop.dll“名为'sqlite3_changes_interop”切入点:SQLite的更新后的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的C#/ SQLite的工作正常,直到我决定更新SQLite的DLL文件(从1.0.82.0到1.0.84.0)。现在,我得到这个崩溃:




无法找到DLL'SQLite.Interop.dll名为'sqlite3_changes_interop的切入点。




 键入'System.EntryPointNotFoundException的第一次机会异常出现在System.Data.SQLite.dll 
System.Transactions的关键:0:其中,TraceRecord的xmlns =htt​​p://schemas.microsoft.com/2004/10/E2ETraceEvent/TraceRecord严重性=严重>< TraceIdentifier>的http:// MSDN .microsoft.com / TraceCodes /系统/ ActivityTracing / 2004/07 /可靠性/异常/未处理< / TraceIdentifier><简介>未处理的异常< /说明><的AppDomain> SparkleShare.vshost.exe< / AppDomain中><异常和GT ;< ExceptionType> System.EntryPointNotFoundException,mscorlib程序,版本= 4.0.0.0,文化=中性公钥= b77a5c561934e089< / ExceptionType><消息>无法找到DLL'SQLite.Interop.dll名为sqlite3_changes_interop的切入点'< /信息><&栈跟踪GT;在System.Data.SQLite.UnsafeNativeMethods.sqlite3_changes_interop(IntPtr的DB)在System.Data.SQLite.SQLite3.get_Changes
()
在System.Data.SQLite.SQLiteStatement.TryGetChanges(的Int32&放大器;放大器;放大器;在System.Data.SQLite.SQLiteDataReader..ctor(SQLiteCommand CMD,循规蹈矩的CommandBehavior)
在System.Data这在System.Data.SQLite.SQLiteDataReader.NextResult变化)
()
。 SQLite.SQLiteCommand.ExecuteReader(的CommandBehavior行为)
在System.Data.SQLite.SQLiteCommand.ExecuteNonQuery()

中的代码并没有改变,所以我不认为这是一个代码问题(的这里行的它发生在哪里,反正)。



有什么问题在新版本我下载?我下载 sqlite-netFx40-static-binary-Win32-2010-1.0.84.0.zip 在32位Windows中的预编译静态链接的二进制文件(.NET框架4.0)段在的http:/ /system.data.sqlite.org/index.html/doc/trunk/www/downloads.wiki



编辑:我恢复到以前的DLL ,但问题仍然发生,也许是因为Visual C#有一些缓存的地方,不得到清理。


解决方案

请确认SQLite.Interop.dll在x64和项目的86文件夹两者均已更新至1.0.84.0版本。


My C#/SQLite was working fine until I decided to update the SQLite DLLs (from 1.0.82.0 to 1.0.84.0). Now I get this crash:

Unable to find an entry point named 'sqlite3_changes_interop' in DLL 'SQLite.Interop.dll'

A first chance exception of type 'System.EntryPointNotFoundException' occurred in System.Data.SQLite.dll
System.Transactions Critical: 0 : <TraceRecord xmlns="http://schemas.microsoft.com/2004/10/E2ETraceEvent/TraceRecord" Severity="Critical"><TraceIdentifier>http://msdn.microsoft.com/TraceCodes/System/ActivityTracing/2004/07/Reliability/Exception/Unhandled</TraceIdentifier><Description>Unhandled exception</Description><AppDomain>SparkleShare.vshost.exe</AppDomain><Exception><ExceptionType>System.EntryPointNotFoundException, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</ExceptionType><Message>Unable to find an entry point named 'sqlite3_changes_interop' in DLL 'SQLite.Interop.dll'.</Message><StackTrace>   at System.Data.SQLite.UnsafeNativeMethods.sqlite3_changes_interop(IntPtr db)
   at System.Data.SQLite.SQLite3.get_Changes()
   at System.Data.SQLite.SQLiteStatement.TryGetChanges(Int32&amp;amp; changes)
   at System.Data.SQLite.SQLiteDataReader.NextResult()
   at System.Data.SQLite.SQLiteDataReader..ctor(SQLiteCommand cmd, CommandBehavior behave)
   at System.Data.SQLite.SQLiteCommand.ExecuteReader(CommandBehavior behavior)
   at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery()

The code has not changed, so I don't think it is a code problem (here is the line where it happens, anyway).

Is there something wrong with the new version I downloaded? I downloaded sqlite-netFx40-static-binary-Win32-2010-1.0.84.0.zip at the Precompiled Statically-Linked Binaries for 32-bit Windows (.NET Framework 4.0) paragraph at http://system.data.sqlite.org/index.html/doc/trunk/www/downloads.wiki

EDIT: I reverted back to the previous DLLs, but the problem still happens, maybe because Visual C# has some cache somewhere that does not get cleaned.

解决方案

Make sure that the SQLite.Interop.dll in both the x64 and the x86 folders of your project have been updated to version 1.0.84.0.

这篇关于无法找到DLL'SQLite.Interop.dll“名为'sqlite3_changes_interop”切入点:SQLite的更新后的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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