You are not logged in.
Pages: 1
Hello, I installed mormot in Delphi and Lazarus.
The first task is to connect to a firebird database because I have done all my software using Firebird.
I was reading some documents or information for example here:
https://tamingthemormot.wordpress.com/c … tutorials/
But at the moment I can't understand how connect to Firebird so, I'm looking for an example where I can see a connection to a database firebird.
Where can I find a simple example?
Thanks
Offline
You can search the doc.
For instance https://synopse.info/files/html/Synopse … #TITLE_192
See also the "Database Performance" sample, which has some sample connection strings.
Offline
I installed the last version of Zeos from https://sourceforge.net/projects/zeoslib/ (Ver. 7.2.6-stable)
Using:
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs,
SynCommons,
mORMot, mORMotSQLite3, mORMotDB,
SynDB, SynDBSQLite3, SynDBDataSet,
Vcl.StdCtrls, syndbzeos;
type
TForm2 = class(TForm)
Button1: TButton;
procedure Button1Click(Sender: TObject);
private
{ Private declarations }
public
{ Public declarations }
PropsFirebirdRemote : TSQLDBZEOSConnectionProperties;
end;
Can't compile.
In unit SynDBZeos
procedure TSQLDBZEOSStatement.ExecutePrepared;
Error:
[dcc32 Error] SynDBZeos.pas(1107): E2034 Too many actual parameters
ftBlob: fStatement.SetBlob(i+FirstDbcIndex,stBinaryStream,
TZAbstractBlob.CreateWithData(Pointer(VData),length(VData)
{$ifndef ZEOS72UP}, fStatement.GetConnection{$endif}));
Thanks
Offline
It is also worth testing the new ZEOS 7.3.1-beta (svn r6794):
https://zeoslib.sourceforge.io/viewtopi … 11#p155611
https://sourceforge.net/p/zeoslib/code- … sting-7.3/
It should be faster.
Michał
Offline
Pages: 1