Can not run C# sqlite application in 64 bit windows even if i use 64 bit sqlite
I have a C# application. I compile it using x86 compile option in visual studio. I can run it both on 32 bit and 64 bit (program starts both on 32 and 64 bit). But in 64 bit enviroment sqlite functions do not work properly ( do not work at all). I downloaded the ado. net  sqlite for 64 bit. I change the sqlite dll's for 64 bit when i do this the program do not startup. It gives error. 

'System.Data.SQLite, Version=1.0.77.0, Culture=neutral, PublicKeyToken=db937bc2d44ff139' 
It says an error meaning it does not find some depent files which are used during compilation time.  (I compile the project in visual studio using 32 bit versions of sqlite dll's cause **my development enviroment is 32 bit** but in 64 bit i change the to 64 bit versions of the dll )

Other then manually overriding the dll's manually i also have a installshield setup file which has 2 different configurations for x64  and x86 the difference between these configurations is different dll files only. The setup file which is generated using installshield also do not work in 64 bit. 
Please tell me 1- how can i run sqlite functions properly on 64 bit  and 2- how i can prepare a setup for this project in a 32 bit development enviroment.

Thank you for your time 
Ferda


Can not run C# sqlite application in 64 bit windows even if i use 64 bit sqlite
===

I have a C# application. I compile it using x86 compile option in visual studio. I can run it both on 32 bit and 64 bit (program starts both on 32 and 64 bit). But in 64 bit enviroment sqlite functions do not work properly ( do not work at all). I downloaded the ado. net  sqlite for 64 bit. I change the sqlite dll's for 64 bit when i do this the program do not startup. It gives error. 

'System.Data.SQLite, Version=1.0.77.0, Culture=neutral, PublicKeyToken=db937bc2d44ff139' 
It says an error meaning it does not find some depent files which are used during compilation time.  (I compile the project in visual studio using 32 bit versions of sqlite dll's cause **my development enviroment is 32 bit** but in 64 bit i change the to 64 bit versions of the dll )

Other then manually overriding the dll's manually i also have a installshield setup file which has 2 different configurations for x64  and x86 the difference between these configurations is different dll files only. The setup file which is generated using installshield also do not work in 64 bit. 
Please tell me 1- how can i run sqlite functions properly on 64 bit  and 2- how i can prepare a setup for this project in a 32 bit development enviroment.

Thank you for your time 
Ferda

