This project is read-only.

SpatiaLite ODBC DLLs problem

Jun 28, 2012 at 3:24 PM

I follow the instructions on installing SQLite-ODBC diver and copied all the DLLs on C:\Windows\system32. PowerBuilder application works OK with ODBC to SpatiaLIte DB with "libspatialite-2" as extension. DotSpatial DemoMap.exe reads data from the same SpatiaLite's DB.

On my production computer everything works OK. 

On the user computer DemoMap stop working soon after execute the 
public IFeatureSet ReadFeatureSet(string connString, GeometryColumnInfo featureSetInfo, string sql).
This is the case when SQLite-ODBC DLLs are on C:\Windows\system32. 
But if I remove this DLLs from there DemoMap works OK. 
But now ODBC connection for PowerBuilder wont work (could not find "libspatialite-2"). 
Please give me a help to find what is missing on the user computer. 

Regards, Vojko 

Jul 18, 2012 at 10:28 PM

It sounds like a dll named libspatialite-2.dll is missing or not available in your path.

I'm not sure from your description whether this is or is not related to the sqllite extension.


Jul 19, 2012 at 7:59 AM

Thanks mudnug, 

now found the problem: for 32bit machine must install all spatialite stuff into System32 folder and for 64bit machine must all spatialite stuff goes to SysWOW64 folder.

Also take care to download spatialite stuff ones for 32bit and once for 64bit.

But my problem with dotsptial projections is still not resolved, please see it on 
http://dotspatial.codeplex.com/discussions/362778