Newbie question

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

Newbie question

Postby BillyBubba » 24.01.2017, 17:43

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
Gold Boarder
Gold Boarder
Posts: 571
Joined: 17.01.2011, 14:17

Re: Newbie question

Postby marsupilami » 25.01.2017, 10:30

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

Postby BillyBubba » 01.02.2017, 15:01

Is there a way to tell.
I'm using Delphi 2009.
Which version of Zeos and SQLite should I use ???

marsupilami
Gold Boarder
Gold Boarder
Posts: 571
Joined: 17.01.2011, 14:17

Re: Newbie question

Postby marsupilami » 02.02.2017, 08:54

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


Return to “ZeosLib 7.1 stable Forum”

Who is online

Users browsing this forum: Baidu [Spider] and 1 guest