1
votes

I have my application running in Delphi 10.1 with Datasnap server and client application.

There are few methods declared in the server with parameters "out/var"

Eg: sum (out a: widestring) or sum (var a: widestring)

When I try to generate classes from client application connecting to the server, it does not generate classes pas file when functions or procedures with out/var are available.

Please suggest.

1
It does for me (Delphi 10.1 Datasnap REST server and Delphi client). What proxy do you use ?, your client is also a Delphi app, Javascript, ... ... ?.Marc Guillot
actually the parameters are of type widestringpn098

1 Answers

3
votes

WideString is not a supported type in DataSnap server methods. You can see a list of supported parameter types here: Exposing DataSnap Server Methods