无法加载DLL的'sqlite3':找不到指定的模块。 (来自HRESULT的异常:0x8007007E) [英] Unable to load DLL 'sqlite3': The specified module could not be found. (Exception from HRESULT: 0x8007007E)
问题描述
我正在开发一个Windows窗体应用程序。当我在Windows 8.1(VS2013)上运行应用程序时,应用程序运行到一定程度然后崩溃,给出异常{无法加载DLL的'sqlite3':找不到指定的模块。 (HRESULT异常:0x8007007E)}。
我无法在引用中包含sqlite3 dll。当我尝试添加它并将Copy Local属性更改为True时,无法在构建解决方案时执行此操作,此属性会自动更改为False。当我尝试通过release \ x64文件夹添加SQLite3时,我收到一个错误,该文件无法访问。请帮助我解决这个问题!!
I am working on a windows forms application. when I run the application on windows 8.1 (VS2013), the application runs upto an extent and then crashes, giving the exception "{"Unable to load DLL 'sqlite3': The specified module could not be found. (Exception from HRESULT: 0x8007007E)"}".
I am unable to include sqlite3 dll in the references. when I try adding it and change the Copy Local attribute to True, I am unable to do it as whenever I build the solution, this attribute gets changed to False automatically. also when I try adding SQLite3 through the release\x64 folder, I get an error that the file is not accessible. kindly help me fix this issue!!
推荐答案
阅读以下内容: http://stackoverflow.com/questions/7264383/options-for-using-system-data-sqlite-in -a-32bit-and-64bit-c-sharp-world [ ^ ]
Read the following : http://stackoverflow.com/questions/7264383/options-for-using-system-data-sqlite-in-a-32bit-and-64bit-c-sharp-world[^]
这篇关于无法加载DLL的'sqlite3':找不到指定的模块。 (来自HRESULT的异常:0x8007007E)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!