DLL文件为Windows 7 64位文件、DLL、Windows

2023-09-07 23:47:17 作者:诗雨伊意

我在我的Windows XP应用程序(发表文章用C#)移植到Windows 7的应用程序。 现在我用我的XP应用程序(32位)sqlite3.dll,我会下载sqlite3.dll为64位的机器。 对于我的目的,我已经搬到sqlite3.dll在我的/ bin文件夹,很明显,当我尝试启动我的Windows 7应用程序,我收到一个错误。 所以,在这里我下载此文件?

I'm porting my Windows XP application (wrote with C#) to Windows 7 application. Now I'm using sqlite3.dll on my XP App (32bit) and I would download sqlite3.dll for 64bit machine. For my purpose I've moved sqlite3.dll on my /bin folder and, obviously, when I try to start my app on windows 7 I receive an error. So, where I download this file?

请帮我...

编辑:我下载sqlite3的 http://www.sqlite.org/download.html

I've downloaded sqlite3 http://www.sqlite.org/download.html

推荐答案

SQLite的网站只有32位的.dll,得到一个64位的一个你需要下载和自己编译源。

The SQLite website only has the 32-bit .dll, to get a 64-bit one you'll have to download and compile the source yourself.

由于您使用C#,一个更简单的方法是使用System.Data.SQLite( http://sqlite.phxsoftware.com/ )。他们有一个64位的下载可用,这是SQLite的本身和他们的ADO.NET提供合并成一个.dll文件。它使用SQLite在Windows上用C#我认为最简单的方法。

Since you're using C#, an easier way is to use System.Data.SQLite ( http://sqlite.phxsoftware.com/ ). They have a 64-bit download available, which is SQLite itself and their ADO.NET provider combined into one .dll. It's the easiest way to use SQLite on Windows with C# I think.

更新:新的下载网址是http://system.data.sqlite.org/index.html/doc/trunk/www/downloads.wiki

Update: New download URL is http://system.data.sqlite.org/index.html/doc/trunk/www/downloads.wiki