Newbie question

The official tester's forum for ZeosLib 7.1. Ask for help, post proposals or solutions.
Post Reply
BillyBubba
Fresh Boarder
Fresh Boarder
Posts: 2
Joined: 24.01.2017, 17:31

Newbie question

Post by BillyBubba »

Just installed the components and I am trying to connect to sqllite
I have the sqllite dll and db in the same folder
The Database and LibraryLocation properties of my ZConnection component are both pointed to the folder.

When I try to connect I get teh following error:

client-library sqlite3.dll found but could not be loaded.
check compile-target and library compatibility.

Any help would be greatly appreciated.
marsupilami
Platinum Boarder
Platinum Boarder
Posts: 1956
Joined: 17.01.2011, 14:17

Re: Newbie question

Post by marsupilami »

Hello BillyBubba,

that usually means that for some reason the dll file could not be loaded. This usually happens when you try to load a 64 bits dll into a 32 bits application or try to do that the other way around. Another possibility would be that the sqlite dll depends on some dll that it cannot find. This would lead to the same error message.

With best regards,

Jan
BillyBubba
Fresh Boarder
Fresh Boarder
Posts: 2
Joined: 24.01.2017, 17:31

Re: Newbie question

Post by BillyBubba »

Is there a way to tell.
I'm using Delphi 2009.
Which version of Zeos and SQLite should I use ???
marsupilami
Platinum Boarder
Platinum Boarder
Posts: 1956
Joined: 17.01.2011, 14:17

Re: Newbie question

Post by marsupilami »

Hello BillyBubba,

I don't know of a simple methot to check if you try to load a 32 bits or 64 bits library. With Delphi 2009 you should use the latest Zeos (Zeos 7.2 from the SVN if possible) and a 32 bits sqlite dll.

With best regards,

Jan
Post Reply