#2 Re: mORMot 1 » mORMot framework for DELPHI 6 not working » 2020-03-29 17:47:17

This is the link to the pdf file

https://docdro.id/UqJwgm3

The step 3 contains a comparison between the two repositories fossil vs github

I shared the pdf with public visibility. After analyzing it, please tell me  and I will remove it

This is the link to the DOCX file if you want to change/correct it

https://docdro.id/gAtgz6N

Thank you ab for your unbelievable work

#3 Re: mORMot 1 » mORMot framework for DELPHI 6 not working » 2020-03-28 22:35:04

Thank you very much for your time.

The problem was:
  1. The github repository is incomplete
  2. I have to to force a recompilation of all units used by your project, using the Build command instead of Ctrl + F9.

I created a small tutorial (PDF) describing the process.
Do  you allow me to publish it?
Maybe it can help someone else with a similar problem.

#4 Re: mORMot 1 » mORMot framework for DELPHI 6 not working » 2020-03-27 20:40:58

Thanks for you quick answer

Can you please share or point me to the source code repository you use to run the regression tests

#5 mORMot 1 » mORMot framework for DELPHI 6 not working » 2020-03-27 01:11:52

Evaristo
Replies: 8

It is not possible to build mormot framework in DELPHI 6
I tried download the source code from:
  1.  https://github.com/synopse/mORMot
     1. Current and Nightly Build
  2. https://synopse.info/fossil
  3. Version 1.17
None of these repositories are working on DELPHI 6
Can anyone help-me please?

I updated SynDprUses.inc

    {$else}  // enable FastMM4 on older versions of Delphi
      {$IFDEF CONDITIONALEXPRESSIONS}
        {$if CompilerVersion <= 17} // Delphi 2006 (and up) have FastMM4 integrated

          // UPDATE
          FastMM4Messages in '..\RTL7\FastMM4Messages.pas',
          FastMM4 in '..\RTL7\FastMM4.pas',

        {$ifend}
        {$ifdef UNICODE}
          {$WARN DUPLICATE_CTOR_DTOR OFF} // global at .dpr level - see QC 100815
        {$endif}
      {$ELSE}
        FastMM4, // no conditional expressions -> versions older than Delphi 6
      {$ENDIF}
    {$endif FPC}
  {$endif LVCL}

I replaced all references off PtrInt to Integer

Error in SynTable.pas:

   TJSONWriter = class(TTextWriterWithEcho)

   [Error] SynTable.pas(803): Undeclared identifier: 'TTextWriterWithEcho'

Many thanks

Board footer

Powered by FluxBB