我在c#上开发了一个windows应用程序。
我曾在不同的PC操作系统上试过它,但是当我开始在装有Windows 7的PC上运行时,我遇到了问题。
该程序自动关闭。
我使用SQLite进行数据库并与程序中的php文件进行交互。
I develop a windows application on c#.
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.
The program is closed automatically.
I use SQLite for database and interaction with php files in the program.
最满意答案
只是猜测,可能是Windows 7操作系统是64位? 如果是,并且您使用的是32位版本的SQlite,您可能忘记将C#设为32位项目。
为此,请打开项目属性,然后在“构建”页面上选择x86(表示32位)。
Just guessing, could it be that the Windows 7 operating system is 64-bit? 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.
To do so, open the project properties, and on the Build page, select x86 (which means 32-bit).
更多推荐
发布评论