In Windows Mobile, the pinvoke DLL "SQLite. InterOP. dll of SQLite is used for exception handling.

Source: Internet
Author: User

I had a headache when I encountered this problem. I found a lot of methods on the Chinese and English websites. I tried it and understood it slowly. Finally, I solved it through the following methods:

 

From:Http://sourceforge.net/projects/sqlite-dotnet2/files/SQLite%20for%20ADO.NET%202.0/1.0.66.0/Download sqlite-1.0.66-source.zip. The latest version may be updated later.

Then, set SQLite. interop.066.dll 478kb under \ bin \ compactframework.Copy to the \ Program Files \ project file of the mobile phone, and add the reference of system. Data. SQLite. dll 143kb in this directory in the project.

The reason is:ProgramDuring deployment, the file is deployed on the computer instead of on the mobile phone. Therefore, copy the file above.

When downloading the. exeinstallation package, there will be questions in the east-west mobile phone. Use. Zip.

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.