Hello,
I've got a simple zeos connection to SQLite databse. Here are parameters into object inspector for TZconnection and TZquery of main form:
ZConnection1 : TZconnection
Connected : true
Database : /home/gelinp/04_PROGRAMATION/projets/typodoc/data.sqlite
LibraryLocation : /usr/lib/libsqlite3.so
Protocol : sqlite-3
ZQuery1 : TZQuery
Active : false
Connection : ZConnection1
Datasource : DataSourceLesSequences
SQL : select * from PEDAGOLesSequences
If I try to activate ZQuery1, Lazarus freeze and I must reboot it.
I understand I have to use /usr/lib/libsqlite3.so as LibraryLocation because I can't use two libraries from differents paths, and Lazarus doesn't accept I use it from my project directory (Access violation when I run my application). And if I let LibraryLocation empty I can't connect ZConnection1. So It looks like my parameter is OK.
If I try to open Zquery1 into the code formcreate event, then my application never display main form and I have to kill the process.
I can't understand what is wrong. Do you have an idea ?
Thanks for your help.