Tanu
Tanu

Reputation: 125

how to fix: sqlite3.dll not found on delphi data explorer?

I am following the tutorial at: http://docwiki.embarcadero.com/RADStudio/XE5/en/Mobile_Tutorial:_Using_SQLite_%28iOS_and_Android%29

but I stuck at the 6th step (test the connection) which always give me: failed: "sqlite3.dll not found"

In fact I have the sqlite3.dll 64 bit which I put it in c:\Windows\SysWOW64 folder and sqlite3.dll 32 bit which I put it in c:\Windows\System32

I do believe that the sqlite is run in my system because I can use it using FireDAC.

What should I do to fix this?

Thank in advance for the help.

Upvotes: 1

Views: 2595

Answers (1)

MartynA
MartynA

Reputation: 30715

As I said in a comment, You have the DLLs the wrong way around. Despite the folder names, system32 is for 64-bit Dlls and SysWOW64 for 32-bit ones. So, you should swap the DLLs' locations.

Make sure the one you want is findable via your system path.

Upvotes: 2

Related Questions