views:

194

answers:

1

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.

+3  A: 

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).

Stefan Schultze
Yes That is the answer Stefan.Great Thanks.I dont know how to mark it as answer bu it is the reel solition
gadirzade
try clicking on the tick under the votes of the correct answer
Yossi Dahan