#1 2013-12-26 10:24:15

wai-kit
Member
From: Amsterdam, the Netherlands
Registered: 2012-11-27
Posts: 90

project SynDBExplorer not compiling, Syntax error.

I get an error at line 279 in unit SynDBExplorerFrame, Too many actual parameters.
Downloaded the latest NightlyBuild.


fpcdeluxe, FPC 3.2 / Lazarus 2.0, mORMot on Windows 10 ...

Offline

#2 2013-12-26 12:35:02

delphinium
Member
Registered: 2013-11-05
Posts: 11

Re: project SynDBExplorer not compiling, Syntax error.

Seem there's no more array of TSQLRecordClass 1st parameter in the create constructors, so you can remove the [] from line 278 of SynDBExplorerFrame.pas and it is working again. On the changes reason, guess
ab and other experts involved will share with us smile. Mormot is moving really fast better than many commercial products smile

Change TSQLTableJSON.Create([], '',pointer(fJSONBuffer),length(fJSONBuffer)); to
TSQLTableJSON.Create('',pointer(fJSONBuffer),length(fJSONBuffer));

Offline

#3 2013-12-26 13:06:45

wai-kit
Member
From: Amsterdam, the Netherlands
Registered: 2012-11-27
Posts: 90

Re: project SynDBExplorer not compiling, Syntax error.

Hi Delphinium,
I have removed the [] already and its compiling. Just thought that I mention it to Arnaud.


fpcdeluxe, FPC 3.2 / Lazarus 2.0, mORMot on Windows 10 ...

Offline

#4 2013-12-28 14:38:25

ab
Administrator
From: France
Registered: 2010-06-21
Posts: 14,659
Website

Re: project SynDBExplorer not compiling, Syntax error.

Good catch!

I've fixed this sample (and other samples).
See http://synopse.info/fossil/info/b21e5036ff

In fact, now we have added batch files for continuous integration: compile all available executables (including samples), then run regression tests - this version is tested with Delphi 7, 2007 and XE4.
See http://synopse.info/fossil/info/78331d941f

Offline

Board footer

Powered by FluxBB