#1 Re: mORMot 1 » Connect to Firebird » 2020-08-20 23:46:02

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

#2 mORMot 1 » Connect to Firebird » 2020-08-20 01:53:18

taqtaq
Replies: 4

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

#3 mORMot 1 » Error after install » 2019-12-13 01:23:45

taqtaq
Replies: 4

Hello, after install Mormot on Windows 10 - Delphi CE Rio, and after compile and excecute TestSQL3, I can't compile any project from Mormot\SQLite3\Samples

The messages of errors are many (70)

[dcc32 Error] SynTable.pas(4857): E2003 Undeclared identifier: 'unaligned'
[dcc32 Error] SynTable.pas(4951): E2003 Undeclared identifier: 'unaligned'
[dcc32 Error] SynTable.pas(5008): E2003 Undeclared identifier: 'BOOL_UTF8'
[dcc32 Error] SynTable.pas(5023): E2003 Undeclared identifier: 'unaligned'
[dcc32 Error] SynTable.pas(5563): E2003 Undeclared identifier: 'unaligned'
[dcc32 Error] SynTable.pas(5644): E2003 Undeclared identifier: 'unaligned'

I followed the steps from install instructions I seted the library path and browsing path C:\Mormot;C:\Mormot\SQLite3;C:\Mormot\SynDBDataset;C:\Mormot\CrossPlatform

Thanks

Board footer

Powered by FluxBB