None of dynamic libraries can be found: sqlite3.dll

Forum related to SQLite

Moderators: gto, cipto_kh, EgonHugeist

Post Reply
Cover Story
Fresh Boarder
Fresh Boarder
Posts: 4
Joined: 26.02.2007, 16:07

None of dynamic libraries can be found: sqlite3.dll

Post 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
Cover Story
Fresh Boarder
Fresh Boarder
Posts: 4
Joined: 26.02.2007, 16:07

Post by Cover Story »

Thanks for your answers. It is necessary to lay down library sqlite3.dll in windows\system32
ORMADA
Fresh Boarder
Fresh Boarder
Posts: 12
Joined: 13.02.2006, 12:42

Post 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
Cover Story
Fresh Boarder
Fresh Boarder
Posts: 4
Joined: 26.02.2007, 16:07

Post by Cover Story »

Thank you!
dragondz
Fresh Boarder
Fresh Boarder
Posts: 14
Joined: 29.03.2006, 10:54
Location: Algiers, Algeria
Contact:

Post 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!
User avatar
mdaems
Zeos Project Manager
Zeos Project Manager
Posts: 2766
Joined: 20.09.2005, 15:28
Location: Brussels, Belgium
Contact:

Post by mdaems »

Runtime error? Or at design time? Because at design time your exe is the IDE and not your project exe.

Mark
Image
dragondz
Fresh Boarder
Fresh Boarder
Posts: 14
Joined: 29.03.2006, 10:54
Location: Algiers, Algeria
Contact:

Post 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.
Post Reply