I have 2 computers:
1. Laptop under Windows XP Pro [32 bits] - installed Lazarus [32 bits] and Firebird 1.6;
2. Desktop under Windows 7 Pro [64 bits] - installed Lazarus [64 bits] and Firebird 2.1;
First I compiled the example on the Laptop and it was successful - i did change in example only the name of database, username and password, because these data was about another kind of database. I did change the SQL Query to open an existing table in my Firebird database. No more changes ....
Aftef successful compilation and work of the example, I posted a comment into the forum, that it works o.k.
Next day I decided to try out compilation by the Desktop computer. I did copy the source files there and did compile successful, but there was a message, when I did try to Run:
Can not load default Firebird clients ("gds32.dll" or "fbclient.dll"). Check your installation.
Then I did copy the cmpiled on the Laptop sql.exe and Firebird database from the Laptop to the Desktop computer - this works o.k on the Desktop.
That's it.