Gentlefolk,
Please humor me on this one.
Following the previous replies in this forum I checked through a project and tried to get things correct with FB, FB embedded and the protocols required. Woops, up popped the access violation.
So I have done the following:
FB software = Firebird-2.1.3.18185-0_win32.
Exited lazarus.
Created a directory
Re-entered lazarus.
Created an application.
Saved the application in the directory.
Created a FB database in the directory.
Added a single table to the DB.
Added a zconnection to the form.
As I have firebird (no extra d) selected protocol = firebird-2.0.
Completed all parameters.
Added zquery1. Added sql, pointed to the zconnection.
Could not set active = true, got an "access violation".
Set zconnection.protocol = firebird-1.5, same problem.
Set zconnection.protocol = firebird-1.0, could set zquery active.
Project compiled OK, executed and displayed the blank form.
Exited Lazarus, re-entered, performed all the above tests (2.0, 1.5, 1.0), results the same.
Back to an original project, woops zconnection.protocol - firebirdD-2.0. Wrong!!!!
Changed to firebird-2.0, could set zqueries.active = true.
Project compiled ok, crashed on execution.
Changed zconnection.protocol = firebird-1.0. Compiled and executed OK.
Set zconnection.protocol = firebirdd-2.0 compiles and executes OK.
So it appears that to use FB with the "correct" (protocol without the extra d) I am limited to 'firebird-1.0' to get things to compile and execute correctly.
I have attached the simple test example.
Ian