Rik van Kekem wrote 7 lines
Op 08-03-2018 16:07 schreef Santiago A. via Lazarus:
> sqlite3.dll is in the same directory that the binary. I have created the
> table employee, just in case. I don't know what else to check. I can't
> debug anything else, the debug can't enter in "open" method.
Creating the database and table employee wasn't "just in case".
It was a requirement if you want to use that example with sqlite.
I mean "Just in case" not to get the TStringGrid properly filled, but to get an exception like "Table not found", not a "SIGSEGV exception"
That is the piece of code that raises the error, in the line "Fquery.open"
And surely you changed something (like the .ini) otherwise you end up
with Firebird db connection.
No, the default is still firebird, and it woks fine. Well, it doesn't work because employee doesn't exits, and I get an "Database not found exception"
I select on propose sqlite3. and I get SIGSEGV with no more clue in the Fquery.open
Show quoted text 5 lines
So zipping your project (with the database) is still best.
Tip: You are sure sqlite3.dll has the same 'bitness' (i.e. 32 of 64
bit) as your executable?
Well, it is the dll I use for some old delphi 32bits utilities.
My point is if I'm missing some package, or the dll should be in other path, or a hint how to dig and debug deeper, beacuse I can't debug into open.