You are not logged in.
Hi AB,
I'm enhancing my Interface Stuff an liked to create the following function:
RDetails = record
FResult1 : RawJSON;
FResult2 : RawJSON;
FResult3 : RawJSON;
FResult4 : RawJSON;
end;
function Testfunction1(const AIDs : RawJSON) : RDetails;
function Testfunction2(const AIDs : RawJSON; var ADetails : RDetails) : RawJSON;
The Server runs and the CrossplatformClient with generated wrapper also
But the client does not receive the Result
with Testfunction1 Error received 0 parameters (expected 1)
with Testfunction2 Error received 0 parameters (expected 2)
What is wrong ?
Rad Studio 12.1 Santorini
Offline
I use XE7, very serious is the Result - Handling in the Debugger on the server - code.
Normal RawJSON - Results without record work as expected
Last edited by itSDS (2014-12-06 01:13:20)
Rad Studio 12.1 Santorini
Offline
Hi AB i found out that the type RawJSON does not work in the record. I replaced it with RawUtf8 and no error occures.
Rad Studio 12.1 Santorini
Offline