[Mono-list] mono.data.sqlite mono1.2.4 on windows... needed dll?
Kamil Skalski
kamil.skalski at gmail.com
Mon Jul 16 02:44:19 EDT 2007
You need a native Sqlite library from
http://www.sqlite.org/download.html
Probably on linux it is already on your system.
2007/7/13, Xavi de Blas <xaviblas at gmail.com>:
> Hello all
>
> I'm trying to use the new assemblie Mono.Data.Sqlite with mono.1.2.4
> on windows (on linux works)
>
> As read here:
> http://www.mono-project.com/SQLite
>
> i tried this:
>
> using Mono.Data.Sqlite;
> ...
> static string connectionString = "version = 3; Data source = " + sqlFile;
>
> compiled with:
> -r:Mono.Data.Sqlite
>
> and on windows does not work, because it needs the sqlite3.dll.
>
> I have some questions:
>
> 1.- Why does need this dll on windows and not in linux?
> 2.- where do i download this dll? i tried some of them, renamed to
> sqlite3.dll and none work. Does anyone succeded?
> If i rename the linux file: /lib/mono/2.0/Mono.Data.Sqlite.dll to
> sqlite3.dll on windows and i put on running dir, it says:
> Unhandled exception: System.EntryPointNotFoundException: sqlite3_open
>
>
> Also i think the connection string format for this new assemblie ins
> not ok on the site:
> http://www.mono-project.com/SQLite
>
> Instead of:
> Data Source=file:SqliteTest.db
> Should be (i think)
> Data Source=SqliteTest.db
>
>
> Thanks to all
> _______________________________________________
> Mono-list maillist - Mono-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-list
>
--
Kamil Skalski
http://nazgul.omega.pl
More information about the Mono-list
mailing list