简体   繁体   English

C#Windows 7问题

[英]C# Windows 7 problem

I develop a windows application on c#. 我在c#上开发了一个windows应用程序。

I have tried it on different PCs with XP operating system, but I had a problem when I start to run on PC with windows 7. 我曾在不同的PC操作系统上试过它,但是当我开始使用Windows 7在PC上运行时,我遇到了问题。

The program is closed automatically. 该程序自动关闭。

I use SQLite for database and interaction with php files in the program. 我使用SQLite进行数据库并与程序中的php文件进行交互。

Just guessing, could it be that the Windows 7 operating system is 64-bit? 只是猜测,可能是Windows 7操作系统是64位? If yes, and you're using the 32-bit version of SQlite, you might have forgotten to make your C# a 32-bit only project. 如果是,并且您使用的是32位版本的SQlite,您可能忘记将C#设为32位项目。

To do so, open the project properties, and on the Build page, select x86 (which means 32-bit). 为此,请打开项目属性,然后在“构建”页面上选择x86(表示32位)。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM