System.Data.SQLite compatible with 32-bit and 64-bit issues

Source: Internet
Author: User
Tags mixed sqlite

The SQLite version of this is very detailed, this machine is 64 bit in 32 bit will appear the problem, after searching to find a solution.

This is my previous write 32 in my current machine on the running error.

Similar to this.

Copy the x64, x86 directories, and System.Data.SQLite.dll files under the directory of the current description document to your application's root directory (note the update reference, Reference System.Data.SQLite.dll, no references in both directories, but need to be packaged at the time of publication.
If it's a Web site, copy it to the bin directory, and when you publish it, note that x64 and x86 are packaged and published together.

Note that the current System.Data.SQLite.dll is full managed code, not a mixed assembly, with a file size of more than 200 KB,
If you are using more than 800 KB, you are using a mixed assembly, a mixed assembly is a specified processor architecture and cannot be used under different schemas

The System.Date.SQLite of the so-called mixed assemblies refers to the C + + code that contains managed code and native, and this workaround provides System.Data.SQLite as a fully managed
Code, you must match the native Interop DLL to use

Http://pan.baidu.com/s/1gd1ocSz

System.Data.SQLite compatible with 32-bit and 64-bit issues

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.