Cannot load client DLL: sqlite3.dll

Discussion of open issues, suggestions and bugs regarding UniDAC (Universal Data Access Components) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
norfintork
Posts: 11
Joined: Wed 21 Jun 2006 20:12
Location: Southeast Michgian

Cannot load client DLL: sqlite3.dll

Post by norfintork » Wed 12 May 2010 02:38

Using D2010

UniDAC 3.00.0.7


Fails in IDE, but app runs.

DB, DLL and exe in same directory.

Looks like this was a problem in the past, did a recent update break it?

bork
Devart Team
Posts: 649
Joined: Fri 12 Mar 2010 07:55

Post by bork » Wed 12 May 2010 12:17

Hello

The problem is the current folder for application in the design-time and in the run-time is different. In the design-time the current folder is the folder where Delphi EXE is located. In the run-time the current folder is the folder where the application EXE file is located. You can move your sqlite3.dll to the windows\system32 folder and it will be available in the design-time and in the run-time. Or you can add the path to sqlite3.dll to your "Path" environment variable.

norfintork
Posts: 11
Joined: Wed 21 Jun 2006 20:12
Location: Southeast Michgian

Post by norfintork » Thu 13 May 2010 05:59

That did it - thanks!

Post Reply