[Mono-list] support for spatialite extensions to sqlite?

FredLee fred.leefarr at airpost.net
Tue Jul 27 17:36:33 EDT 2010


I've tried load_extension() as 
http://sqlite.phxsoftware.com/forums/p/1608/6913.aspx hinted here  on
sqlite.phxsoftware.com, but the response is:

Unhandled Exception: Mono.Data.Sqlite.SqliteSyntaxException: no such
function: load_extension

for example , in my code:

dbcon = (IDbConnection) new SqliteConnection(connectionString);
dbcon.Open();
IDbCommand dbcmd = dbcon.CreateCommand();
dbcmd.CommandText = "SELECT load_extension('libspatialite.dylib');";
IDataReader reader = dbcmd.ExecuteReader();





FredLee wrote:
> 
> Hello,
> 
> Just wondering if it's possible to use the 
> http://www.gaia-gis.it/spatialite/ spatialite  extensions for sqlite with
> mono? I've googled 'spatialite' + 'mono' but didn't come up with anything.
> 
> Thanks.
> 

-- 
View this message in context: http://mono.1490590.n4.nabble.com/support-for-spatialite-extensions-to-sqlite-tp2304103p2304154.html
Sent from the Mono - General mailing list archive at Nabble.com.


More information about the Mono-list mailing list