#1 2018-06-07 21:03:35

Quorren
Member
Registered: 2016-10-03
Posts: 14

Need help with client module generated from wrapper

Hi.

I tried to use template CrossPlatform.pas.mustache to generate client module but i have empty function and procedure names
in example like this:

type
  /// service implemented by TServiceDir
  // - you can access this service as such:
  // !var aDir: IDir;
  // !begin
  // !   aDir := TServiceDir.Create(aClient);
  // !   // now you can use aDir methods
  // !...
  IDir = interface(IServiceAbstract)
    ['{CE9A54A2-E524-4C9F-9573-E885BD4D875E}']
    function 
  end;

This interface is declared

IDir = interface(iinvokable)
  ['{CE9A54A2-E524-4C9F-9573-E885BD4D875E}']
  Function Groups():RawJSON;
end;

How can i fix this?

Offline

#2 2018-06-08 09:48:05

sevo
Member
Registered: 2015-11-10
Posts: 27

Re: Need help with client module generated from wrapper

Try with lowercase 'f' in 'Function'.

Offline

#3 2018-06-08 09:53:01

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

Re: Need help with client module generated from wrapper

Ensure you have the latest version of the framework - 1.18.4607 currently.

Try to add some parameters to the function.

Offline

Board footer

Powered by FluxBB