Re: [sqlite] Hi All, How to use System.data.sqlite on both 32-bit and 64-bit system.

2011-12-28 Thread Ilber Ibrahimi
You can build your project to run only in 32-bit mode, and use always the 32 bit dll. -Original Message- From: sqlite-users-boun...@sqlite.org [mailto:sqlite-users-boun...@sqlite.org] On Behalf Of Joe Mistachkin Sent: martedì 27 dicembre 2011 23:06 To: 'General Discussion of SQLite

Re: [sqlite] Hi All, How to use System.data.sqlite on both 32-bit and 64-bit system.

2011-12-27 Thread 陈正伟
Or is there some way to use both 32-bit and 64-bit dll in one project? I did some test, but they use same namespaces, I can't use them at same time. e.g. some code like this? if (is_64_bit){ db = new System.Data.Sqlite_64; }else{ db = new System.Data.Sqlite_32; } 2011/12/28 Joe

Re: [sqlite] Hi All, How to use System.data.sqlite on both 32-bit and 64-bit system.

2011-12-27 Thread Joe Mistachkin
> > is there a dll can be used on both system? > Not really. Different native code is required for 32-bit and 64-bit processes. -- Joe Mistachkin ___ sqlite-users mailing list sqlite-users@sqlite.org

[sqlite] Hi All, How to use System.data.sqlite on both 32-bit and 64-bit system.

2011-12-27 Thread 陈正伟
Hi All, I have a project with sqlite, I use System.data.sqlite.dll to connect the sqlite database. but some customer use 32-bit system, some use 64-bit system. I know there is a 64-bit dll file, but I must build the project twice with different dll. is there a dll can be used on both system?