Page 1 of 1

None of dynamic libraries can be found: sqlite3.dll

Posted: 26.02.2007, 16:23
by Cover Story
Hi all
I use zeosDBO 6.6.1 with sqlite on Lazarus 0.9.20 OS win32
I write next parameters
zconnection1.Catalog:= "D:\lazarprog\sqlite1\"
zconnection1.Database:="D:\lazarprog\sqlite1\gas.s3db"
zconnection1.Protocol:=sqlite-3
when I send
zconnection1.Connected:=True
Lazarus write next message: "None of dynamic libraries can be found: sqlite3.dll"
I put my Database & sqlite3.dll in folder where mybase program

Posted: 27.02.2007, 13:13
by Cover Story
Thanks for your answers. It is necessary to lay down library sqlite3.dll in windows\system32

Posted: 28.02.2007, 05:21
by ORMADA
not necessary lay down it to windows\system32 (you may use any dorectories what exist in you Windows PATH variable(!))
and of couse you may lay down it in same directory where your *.exe lay down

Posted: 28.02.2007, 08:00
by Cover Story
Thank you!

Posted: 07.06.2008, 17:12
by dragondz
Hi
and of couse you may lay down it in same directory where your *.exe lay down
I tryed to use lazarus 0.9.24/FPC 2.2 with zeos and sqlite under windows and it seems necessary to copy sqlite3.dll into windows/system folder and not work if sqlite3.dll is in same folder as .exe!

Posted: 07.06.2008, 20:35
by mdaems
Runtime error? Or at design time? Because at design time your exe is the IDE and not your project exe.

Mark

Posted: 08.06.2008, 13:59
by dragondz
At design time! I tried now the application and it works with the dll in the same location of the .exe

Thanks Mark that clarify the problem.