ThinkGeo.com    |     Documentation    |     Premium Support

SQLite DLL files for Windows 32 (x86) build on 64 bit computer

Hi,

I need to rebuilt my VS 2010 project for the x86 (32 bit) platform to deploy my application as a 32 bit application on a 64 bit computer. The application has been successfully built for the “AnyCPU” platform before.

I’ve downloaded the Precompiled Statically-Linked Binaries for 32-bit Windows (.NET Framework 4.0) (https://system.data.sqlite.org/downloads/1.0.102.0/sqlite-netFx40-static-binary-bundle-Win32-2010-1.0.102.0.zip) and referenece to the System.Data.Sqlite.dll from it, but I’m getting the “Unable to open database file” error.

I’ve found the “Deployment of the dlls (32 bits/ 64 bits)” post (Deployment of the dlls (32 bits/ 64 bits)) which refernces to MergeModules that can allow to create a seperate x86 and x64 installers, but it is not clear how can use it.

Where can I find a set of ThinkGeo/SQLite dlls to build my WPF Custom map control project for the x86 (32 bit) platform?

Thanks,
Gene

Hi Gene,

I think you can download the latest package from our product center, for example: WpfDesktopEditionFull9.0.384.0DllPackage.zip, then you can find the dlls in this folder:
WpfDesktopEditionFull9.0.384.0DllPackage\Managed Assemblies\Spatial Extensions\SQLite Extension
And for the System.Data.SQLite.dll it will call the dll in x86 or x64 folder follow your project need.

Regards,

Don

Hi Don,

It works after resetting references to all SQLite related dlls. Thank you very much for your help.

Thanks,
Gene

Hi Gene,

I am glad to hear that works.

Regards,

Don