You are not logged in.
Look at this:
server:
ICalculator = interface(IInvokable)
['{9A60C8ED-CEB2-4E09-87D4-4A16F496E5FF}']
function Add(n1,n2: integer): integer;
function list(tag:string;var tagList:TTaglist):string;
end;
generated:
type
/// service implemented by TServiceCalculator
// - you can access this service as such:
// !var aCalculator: ICalculator;
// !begin
// ! aCalculator := TCalculator.Create(aClient);
// ! // now you can use aCalculator methods
// !...
ICalculator = interface(IServiceAbstract)
['{9A60C8ED-CEB2-4E09-87D4-4A16F496E5FF}']
function Add(const n1: integer; const n2: integer): integer;
function list(const tag: string; var tagList: TTagList): string;
end;
----------------
Change VAR in OUT and...
server:
TServiceCalculator = class(TInterfacedObject, ICalculator)
public
function Add(n1,n2: integer): integer;
function list(tag:string;out tagList:TTaglist):string;
end;
generated
type
/// service implemented by TServiceCalculator
// - you can access this service as such:
// !var aCalculator: ICalculator;
// !begin
// ! aCalculator := TCalculator.Create(aClient);
// ! // now you can use aCalculator methods
// !...
ICalculator = interface(IServiceAbstract)
['{9A60C8ED-CEB2-4E09-87D4-4A16F496E5FF}']
function Add(const n1: integer; const n2: integer): integer;
function list(const tag: stringout tagList: TTagList): string; //<-------------------------------------- lost ;
end;
tested with xe2 e xe6upd1
obviously adding ";" everything works
Offline
Offline
HI AB,
there is probably a problem of synchronization in the nightlyBuild.
the mormot.pas is out of date
http://synopse.info/fossil/artifact/946 … 3c1bfee2bb size: 1.652.524
in nightlyBuild size: 1.652.402
Offline
I do not know what you are saying...
1.652.402 is the correct size: updated version is a bit shorter, as expected.
This http://synopse.info/fossil/info/18cb31c55f32 commit is correct.
Offline
Unfortunately, the result is the same:
function list(const tag: stringout tagList: TTagList): string;
from:
ICalculator = interface(IInvokable)
['{9A60C8ED-CEB2-4E09-87D4-4A16F496E5FF}']
function Add(n1,n2: integer): integer;
function list(tag:string;out tagList:TTaglist):string;
end;
I send the project for testing in mail
Offline
you are rigth
sorry
Offline