SQLite. Net in win7 (64-bit)

Source: Internet
Author: User

Preface

Keyword: win7 64 SQLite. net

Both Laptops and Desktops are installed with Windows 7, but one is 32-bit, the other is 64-bit, and the development tool is Visual Studio 2008.ProgramIt is normal in a 32-bit system, but the symptom in a 64-bit system is debugging.No errorWhen the class is executed to introduce (using) SQLite. net, the execution is terminated and the breakpoint is invalid. If the class is directly executed to generate the EXE, an error is reported and the SQLite class library cannot be found.

 

Body

Solution 1:

The 64-bit SQLite. Net class library is used. After installation, system. Data. SQLite. dll under SQLite. Net \ bin \ x64 is used.

Solution 2:

Set project properties-generate-target platform to x86:

 

Conclusion

The 64-bit system will be the mainstream in the future, and it is worth studying.

 

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.